diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-10-08 05:07:55 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-10-08 05:07:55 +0000 |
commit | 07e7719441f5927bc3c482717fc53f8529186e3a (patch) | |
tree | 4baea8ab1c47987dc80120c67cb16be141a16b8d /demos/testpixbuf.c | |
parent | e4581869b4a93ab882439673159a8f77b2396e57 (diff) | |
download | gtk+-07e7719441f5927bc3c482717fc53f8529186e3a.tar.gz |
Apply a cleanup patch by Kjartan Maraas (#341812)
2006-10-08 Matthias Clasen <mclasen@redhat.com>
* Apply a cleanup patch by Kjartan Maraas (#341812)
Diffstat (limited to 'demos/testpixbuf.c')
-rw-r--r-- | demos/testpixbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c index f84ebc2f8a..676171bb43 100644 --- a/demos/testpixbuf.c +++ b/demos/testpixbuf.c @@ -358,11 +358,11 @@ expose_func (GtkWidget *drawing_area, GdkEventExpose *event, gpointer data) static void config_func (GtkWidget *drawing_area, GdkEventConfigure *event, gpointer data) { +#if 0 GdkPixbuf *pixbuf; pixbuf = (GdkPixbuf *)g_object_get_data (G_OBJECT (drawing_area), "pixbuf"); -#if 0 if (((event->width) != gdk_pixbuf_get_width (pixbuf)) || ((event->height) != gdk_pixbuf_get_height (pixbuf))) gdk_pixbuf_scale (pixbuf, event->width, event->height); @@ -504,7 +504,7 @@ progressive_updated_callback (GdkPixbufLoader* loader, guint x, guint y, guint w static int readlen = 4096; -extern void pixbuf_init (); +extern void pixbuf_init (void); void size_func (GdkPixbufLoader *loader, gint width, gint height, gpointer data) { |