From 08183549095241722745085ffdf67cb37f138af8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 31 Jan 2006 09:12:13 +0000 Subject: Fix compilation against HEAD gtk and on Win32, where we use the 2006-01-31 Tor Lillqvist * gui/alarm-notify/alarm-queue.c (open_alarm_dialog, tray_icon_clicked_cb): Fix compilation against HEAD gtk and on Win32, where we use the GtkStatusIcon API and there is no tray_image variable. svn path=/trunk/; revision=31384 --- calendar/gui/alarm-notify/alarm-queue.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'calendar/gui/alarm-notify') diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index 73e6be43f9..c837a7d8f4 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -972,8 +972,9 @@ open_alarm_dialog (TrayIconData *tray_data) gtk_widget_destroy (tray_icon); tray_icon = NULL; +#ifndef USE_GTK_STATUS_ICON tray_image = NULL; - +#endif if (!alarm_notifications_dialog) alarm_notifications_dialog = notified_alarms_dialog_new (); @@ -1028,8 +1029,9 @@ tray_icon_clicked_cb (GtkWidget *widget, GdkEventButton *event, gpointer user_da gtk_widget_destroy (tray_icon); tray_icon = NULL; +#ifndef USE_GTK_STATUS_ICON tray_image = NULL; - +#endif return TRUE; } } -- cgit