forked from AuroraMiddleware/gtk
pixbuf-engine: remove unused theme_pixbuf_render_no_cairo()
This commit is contained in:
parent
be1d190b2e
commit
da9b45be78
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user