From f2db40b45db31c41660bb692bc91f90c49c6939e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 4 Dec 2006 15:40:21 +0000 Subject: Fixes bug #357970 2006-12-04 Matthew Barnes Fixes bug #357970 * gui/contact-editor/e-contact-editor.c: * gui/widgets/e-minicard.c: * gui/widgets/eab-contact-display.c: Don't call deprecated GLib / GDK functions. svn path=/trunk/; revision=33044 --- addressbook/gui/contact-editor/e-contact-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/contact-editor') diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 367ae376ce..5f8d348bb9 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -2785,7 +2785,7 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data) gtk_image_set_from_pixbuf (GTK_IMAGE (preview), pixbuf); if (pixbuf) - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); } static void -- cgit v1.2.3