aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-timezone-entry.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-11-26 21:58:56 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-11-26 21:58:56 +0800
commite77cfd7e4008635870949d708133a848294dd6fd (patch)
tree7c36578d5946af07c33dcc6c3da8692727c26234 /calendar/gui/e-timezone-entry.c
parentb66bfd09f72ecd36a44aef9338cb53891c27048e (diff)
downloadgsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.tar.gz
gsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.tar.zst
gsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.zip
ditto
2004-11-26 JP Rosevear <jpr@novell.com> * gui/alarm-notify/alarm-queue.c (display_notification): ditto * gui/e-timezone-entry.c (e_timezone_entry_init): get the image directly from the icon factory svn path=/trunk/; revision=27996
Diffstat (limited to 'calendar/gui/e-timezone-entry.c')
-rw-r--r--calendar/gui/e-timezone-entry.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/calendar/gui/e-timezone-entry.c b/calendar/gui/e-timezone-entry.c
index 8e4c65e64d..4004ae2cb8 100644
--- a/calendar/gui/e-timezone-entry.c
+++ b/calendar/gui/e-timezone-entry.c
@@ -110,7 +110,6 @@ e_timezone_entry_init (ETimezoneEntry *tentry)
{
ETimezoneEntryPrivate *priv;
GtkWidget *gtk_image;
- GdkPixbuf *gdk_pixbuf;
AtkObject *a11y;
tentry->priv = priv = g_new0 (ETimezoneEntryPrivate, 1);
@@ -134,12 +133,9 @@ e_timezone_entry_init (ETimezoneEntry *tentry)
atk_object_set_name (a11y, _("Timezone Button"));
}
- gdk_pixbuf = e_icon_factory_get_icon ("stock_timezone", E_ICON_SIZE_BUTTON);
- gtk_image = gtk_image_new_from_pixbuf (gdk_pixbuf);
+ gtk_image = e_icon_factory_get_image ("stock_timezone", E_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (priv->button), gtk_image);
gtk_widget_show (gtk_image);
-
- g_object_unref (gdk_pixbuf);
}