diff options
author | Havoc Pennington <hp@pobox.com> | 2000-06-22 15:36:12 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-06-22 15:36:12 +0000 |
commit | 3a422541e314126987c24fc1752f94962fad78d5 (patch) | |
tree | 9692c443f5df4063c64c4b72cc9482cb1b342a4b /demos/testpixbuf.c | |
parent | 7b6c38f544dd6d55123b1a21d6a45da957ee6396 (diff) | |
download | gdk-pixbuf-3a422541e314126987c24fc1752f94962fad78d5.tar.gz |
Convert GdkPixbuf to GObject, leaving it opaque (i.e. derivation is not
2000-06-21 Havoc Pennington <hp@pobox.com>
* gdk-pixbuf.c: Convert GdkPixbuf to GObject, leaving it opaque
(i.e. derivation is not allowed, and there are no virtual methods
anyway).
(gdk_pixbuf_preinit): Call g_type_init() here.
(gdk_pixbuf_init): Add a user-friendly init function, for users
of standalone gdk-pixbuf
* gdk-pixbuf-animation.c: Convert to GObject, in the same
way GdkPixbufAnimation was done.
* gdk-pixbuf.h: Remove gdk_pixbuf_set_unref_handler() and
gdk_pixbuf_finalize() from API, since these are broken and don't
make sense with new GObject stuff.
2000-06-21 Havoc Pennington <hp@pobox.com>
* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Fix bug where
we didn't check window->bg_pixmap != GDK_NO_BG.
* gtk/gdk-pixbuf-loader.c: Change to reflect GObject-ification of
gdk-pixbuf
Diffstat (limited to 'demos/testpixbuf.c')
-rw-r--r-- | demos/testpixbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c index f4966fcba..85dea5b7b 100644 --- a/demos/testpixbuf.c +++ b/demos/testpixbuf.c @@ -495,7 +495,7 @@ main (int argc, char **argv) GdkPixbufLoader *pixbuf_loader; pixbuf_init (); - + gtk_init (&argc, &argv); gdk_rgb_set_verbose (TRUE); |