aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
parent433790881e9ee889c13f90f4c2201a8462d2c4bb (diff)
downloadgsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.tar
gsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.tar.gz
gsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.tar.bz2
gsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.tar.lz
gsoc2013-evolution-f2db40b45db31c41660bb692bc91f90c49c6939e.tar.xz
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')
-rw-r--r--addressbook/ChangeLog9
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c2
-rw-r--r--addressbook/gui/widgets/e-minicard.c2
-rw-r--r--addressbook/gui/widgets/eab-contact-display.c2
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);