summaryrefslogtreecommitdiff
path: root/gdk/gdkpixbuf-drawable.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>1999-12-10 23:15:20 +0000
committerJonathan Blandford <jrb@src.gnome.org>1999-12-10 23:15:20 +0000
commit0b0ebee941d724daddb624319517702d703bf16e (patch)
tree9c57ebf835262582c9800ff8c84f9705efef8773 /gdk/gdkpixbuf-drawable.c
parenta44d2e2e2c7a7db645553f198c4e118b71c40bde (diff)
downloadgtk+-0b0ebee941d724daddb624319517702d703bf16e.tar.gz
make a warning go away.
1999-12-10 Jonathan Blandford <jrb@redhat.com> * gdk-pixbuf/gdk-pixbuf-drawable.c (gdk_pixbuf_get_from_drawable): make a warning go away. * gdk-pixbuf/gdk-pixbuf.h: added new prototypes for animations. * gdk-pixbuf/gdk-pixbuf-loader.h: added new prototypes for animations.
Diffstat (limited to 'gdk/gdkpixbuf-drawable.c')
-rw-r--r--gdk/gdkpixbuf-drawable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkpixbuf-drawable.c b/gdk/gdkpixbuf-drawable.c
index 35d829bff6..e645130f77 100644
--- a/gdk/gdkpixbuf-drawable.c
+++ b/gdk/gdkpixbuf-drawable.c
@@ -1031,7 +1031,7 @@ gdk_pixbuf_get_from_drawable (GdkPixbuf *dest,
{
GdkWindowType window_type;
gint src_width, src_height;
- ArtPixBuf *apb;
+ ArtPixBuf *apb = NULL;
GdkImage *image;
int rowstride, bpp, alpha;