aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-12-04 23:42:22 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2006-12-04 23:42:22 +0800
commit34201761f98113612d30f1810de840fd344f748d (patch)
treefc545b8bf302f31edffd38d09515297cda703891 /mail/em-folder-browser.c
parent79f8ecbd0d28dfb399e2275a3a18d8ed96415232 (diff)
downloadgsoc2013-evolution-34201761f98113612d30f1810de840fd344f748d.tar.gz
gsoc2013-evolution-34201761f98113612d30f1810de840fd344f748d.tar.zst
gsoc2013-evolution-34201761f98113612d30f1810de840fd344f748d.zip
Fixes bug #357970
2006-12-04 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * em-folder-browser.c: * em-folder-view.c: Don't call deprecated GLib / GDK functions. svn path=/trunk/; revision=33046
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 366bf2a4d8..07638ddcb9 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -325,13 +325,13 @@ generate_viewoption_menu (GtkWidget *emfv)
GtkImage *image;
gdk_color_parse(label->colour, &colour);
- gdk_color_alloc(gdk_colormap_get_system(), &colour);
+ gdk_colormap_alloc_color(gdk_colormap_get_system(), &colour, FALSE, TRUE);
pixmap = gdk_pixmap_new(((GtkWidget *)emfv)->window, 16, 16, -1);
gc = gdk_gc_new(((GtkWidget *)emfv)->window);
gdk_gc_set_foreground(gc, &colour);
gdk_draw_rectangle(pixmap, gc, TRUE, 0, 0, 16, 16);
- gdk_gc_unref(gc);
+ g_object_unref(gc);
image = gtk_image_new_from_pixmap(pixmap, NULL); */
str = string_without_underscores (label->name);