aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-queue.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/alarm-notify/alarm-queue.c
parentb66bfd09f72ecd36a44aef9338cb53891c27048e (diff)
downloadgsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.tar
gsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.tar.gz
gsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.tar.bz2
gsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.tar.lz
gsoc2013-evolution-e77cfd7e4008635870949d708133a848294dd6fd.tar.xz
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/alarm-notify/alarm-queue.c')
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index 5d7b6b2078..8176c3c145 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -932,7 +932,6 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa,
GSList *text_list;
char *str, *start_str, *end_str, *alarm_str;
icaltimezone *current_zone;
- GdkPixbuf *pixbuf;
comp = cqa->alarms->comp;
qa = lookup_queued_alarm (cqa, alarm_id);
@@ -970,9 +969,7 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa,
tooltips = gtk_tooltips_new ();
tray_icon = GTK_WIDGET (egg_tray_icon_new (qa->instance->auid));
- pixbuf = e_icon_factory_get_icon ("stock_appointment-reminder", E_ICON_SIZE_LARGE_TOOLBAR);
- image = gtk_image_new_from_pixbuf (pixbuf);
- gdk_pixbuf_unref (pixbuf);
+ image = e_icon_factory_get_image ("stock_appointment-reminder", E_ICON_SIZE_LARGE_TOOLBAR);
ebox = gtk_event_box_new ();
gtk_widget_show (image);