Commit 95eaad11 authored by Vincent Untz's avatar Vincent Untz

Use GDK_DRAWABLE() instead of non-existing GTK_DRAWABLE()

The error was introduced in commit 248b7310.
parent e9e91f2c
......@@ -609,7 +609,7 @@ draw_string (GtkStyle * style,
gdk_gc_set_clip_rectangle(style->fg_gc[state], area);
}
gdk_draw_layout(GTK_DRAWABLE (window), style->fg_gc[state], x, y, layout);
gdk_draw_layout(GDK_DRAWABLE (window), style->fg_gc[state], x, y, layout);
if (area)
{
......@@ -620,7 +620,7 @@ draw_string (GtkStyle * style,
else
{
gdk_gc_set_clip_rectangle(style->fg_gc[state], area);
gdk_draw_layout(GTK_DRAWABLE (window), style->fg_gc[state], x, y, layout);
gdk_draw_layout(GDK_DRAWABLE (window), style->fg_gc[state], x, y, layout);
gdk_gc_set_clip_rectangle(style->fg_gc[state], NULL);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment