[librsvg] Use GDK_DRAWABLE() instead of non-existing GTK_DRAWABLE()



commit 95eaad11b6f3e3d85ea9375e26db948b2224511a
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Mar 30 07:29:39 2010 +0200

    Use GDK_DRAWABLE() instead of non-existing GTK_DRAWABLE()
    
    The error was introduced in commit 248b7310.

 gtk-engine/svg-draw.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk-engine/svg-draw.c b/gtk-engine/svg-draw.c
index e30b05c..3602a9b 100644
--- a/gtk-engine/svg-draw.c
+++ b/gtk-engine/svg-draw.c
@@ -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);
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]