]> Pileus Git - ~andy/gtk/commitdiff
pixbuf-engine: remove unused theme_pixbuf_render_no_cairo()
authorBenjamin Otte <otte@redhat.com>
Tue, 17 Aug 2010 03:15:31 +0000 (05:15 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:02:59 +0000 (15:02 +0200)
modules/engines/pixbuf/pixbuf-render.c
modules/engines/pixbuf/pixbuf.h

index 30e3fadad12e0381fc1102530f52474ef99628a8..6bb614884dd8d5d306e915cab670cd4862e85827 100644 (file)
@@ -715,31 +715,6 @@ theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb)
   return theme_pb->pixbuf;
 }
 
-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,
index 9c9c38c5d432b287214adcd2b9ffc7be93d1570e..a9611705e0f8eaa9d284d3c21b8a79986c85a68b 100644 (file)
@@ -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,