diff options
-rw-r--r-- | addressbook/ChangeLog | 9 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 2 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-minicard.c | 2 | ||||
-rw-r--r-- | 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 <mbarnes@redhat.com> + + 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 <serrador@openshine.com> * 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, "<img width=\"%d\" height=\"%d\" src=\"internal-contact-photo:\">", calced_width, calced_height); e_contact_photo_free (photo); |