aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-12-04 23:40:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2006-12-04 23:40:21 +0800
commitf2db40b45db31c41660bb692bc91f90c49c6939e (patch)
tree19387822556145f2d0c446898a6e54a061163a71 /addressbook/gui/widgets
parent433790881e9ee889c13f90f4c2201a8462d2c4bb (diff)
downloadgsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.tar.gz
gsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.tar.zst
gsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.zip
Fixes bug #357970
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. svn path=/trunk/; revision=33044
Diffstat (limited to 'addressbook/gui/widgets')
-rw-r--r--addressbook/gui/widgets/e-minicard.c2
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c2
2 files changed, 2 insertions, 2 deletions
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);