[gtk+/rendering-cleanup: 23/142] pixbuf-engine: remove unused theme_pixbuf_render_no_cairo()



commit 754000c8aa175f86b601b121f0cae2982af9e196
Author: Benjamin Otte <otte redhat com>
Date:   Tue Aug 17 05:15:31 2010 +0200

    pixbuf-engine: remove unused theme_pixbuf_render_no_cairo()

 modules/engines/pixbuf/pixbuf-render.c |   25 -------------------------
 modules/engines/pixbuf/pixbuf.h        |    9 ---------
 2 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/modules/engines/pixbuf/pixbuf-render.c b/modules/engines/pixbuf/pixbuf-render.c
index 30e3fad..6bb6148 100644
--- a/modules/engines/pixbuf/pixbuf-render.c
+++ b/modules/engines/pixbuf/pixbuf-render.c
@@ -716,31 +716,6 @@ theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb)
 }
 
 void
-theme_pixbuf_render_no_cairo (ThemePixbuf  *theme_pb,
-                              GdkWindow    *window,
-                              GdkRectangle *clip_rect,
-                              guint         component_mask,
-                              gboolean      center,
-                              gint          x,
-                              gint          y,
-                              gint          width,
-                              gint          height)
-{
-  cairo_t *cr;
-
-  cr = gdk_cairo_create (window);
-  if (clip_rect)
-    {
-      gdk_cairo_rectangle (cr, clip_rect);
-      cairo_clip (cr);
-    }
-
-  theme_pixbuf_render (theme_pb, cr, 
-                       component_mask, center,
-                       x, y, width, height);
-}
-
-void
 theme_pixbuf_render (ThemePixbuf  *theme_pb,
                      cairo_t      *cr,
 		     guint         component_mask,
diff --git a/modules/engines/pixbuf/pixbuf.h b/modules/engines/pixbuf/pixbuf.h
index 9c9c38c..a961170 100644
--- a/modules/engines/pixbuf/pixbuf.h
+++ b/modules/engines/pixbuf/pixbuf.h
@@ -200,15 +200,6 @@ G_GNUC_INTERNAL void         theme_pixbuf_set_border   (ThemePixbuf  *theme_pb,
 					gint          bottom);
 G_GNUC_INTERNAL void         theme_pixbuf_set_stretch  (ThemePixbuf  *theme_pb,
 					gboolean      stretch);
-G_GNUC_INTERNAL void         theme_pixbuf_render_no_cairo (ThemePixbuf  *theme_pb,
-					GdkWindow    *window,
-					GdkRectangle *clip_rect,
-					guint         component_mask,
-					gboolean      center,
-					gint          dest_x,
-					gint          dest_y,
-					gint          dest_width,
-					gint          dest_height);
 G_GNUC_INTERNAL void         theme_pixbuf_render       (ThemePixbuf  *theme_pb,
                                         cairo_t      *cr,
 					guint         component_mask,



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