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/ChangeLog | 9 +++++++++ addressbook/gui/contact-editor/e-contact-editor.c | 2 +- addressbook/gui/widgets/e-minicard.c | 2 +- addressbook/gui/widgets/eab-contact-display.c | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 8ff9e95773..07471ac9b9 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,12 @@ +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. + 2006-11-11 Francisco Javier F. Serrador * gui/widgets/e-minicard.c: Fixed #358249 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 diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 2ef9b89dc0..db0093ec0a 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -423,7 +423,7 @@ e_minicard_dispose (GObject *object) } if (e_minicard->list_icon_pixbuf) { - gdk_pixbuf_unref (e_minicard->list_icon_pixbuf); + g_object_unref (e_minicard->list_icon_pixbuf); e_minicard->list_icon_pixbuf = NULL; } diff --git a/addressbook/gui/widgets/eab-contact-display.c b/addressbook/gui/widgets/eab-contact-display.c index 964d37804e..470356d3b9 100644 --- a/addressbook/gui/widgets/eab-contact-display.c +++ b/addressbook/gui/widgets/eab-contact-display.c @@ -730,7 +730,7 @@ eab_contact_display_render_compact (EABContactDisplay *display, EContact *contac } } - gdk_pixbuf_unref (pixbuf); + g_object_unref (pixbuf); gtk_html_stream_printf (html_stream, "", calced_width, calced_height); e_contact_photo_free (photo); -- cgit