aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-notify-dialog.h
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-03-04 22:39:13 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-03-04 22:39:13 +0800
commita45b33e0dbc03ee82cf15513a7e014cc79b596c8 (patch)
tree717fc7b0f391543d775fbb0ca76f0dcec9bbf65e /calendar/gui/alarm-notify/alarm-notify-dialog.h
parent255fb5979b405a0a9cb9289ee980d7bad99e535c (diff)
downloadgsoc2013-evolution-a45b33e0dbc03ee82cf15513a7e014cc79b596c8.tar
gsoc2013-evolution-a45b33e0dbc03ee82cf15513a7e014cc79b596c8.tar.gz
gsoc2013-evolution-a45b33e0dbc03ee82cf15513a7e014cc79b596c8.tar.bz2
gsoc2013-evolution-a45b33e0dbc03ee82cf15513a7e014cc79b596c8.tar.lz
gsoc2013-evolution-a45b33e0dbc03ee82cf15513a7e014cc79b596c8.tar.xz
gsoc2013-evolution-a45b33e0dbc03ee82cf15513a7e014cc79b596c8.tar.zst
gsoc2013-evolution-a45b33e0dbc03ee82cf15513a7e014cc79b596c8.zip
Fixes #72835
2005-03-04 Rodrigo Moya <rodrigo@novell.com> Fixes #72835 * gui/alarm-notify/alarm-notify-dialog.[ch] (alarm_notify_dialog): changed to return the dialog we create, and to run in the background. (dialog_response_cb): response callback for the dialog. * gui/alarm-notify/alarm-queue.c (alarm_queue_done): don't g_assert, just check for midnight_refresh pointer, and clear it up if not NULL. Also, traverse all clients with g_hash_table_foreach_remove. (free_client_alarms_cb, alarm_queue_remove_client, load_alarms): added missing cleanup code. (queue_midnight_refresh): don't g_assert, just check for midnigh_refresh pointer and clear it up if not NULL. (open_alarm_dialog): store the dialog returned by alarm_notify_dialog(). (tray_icon_destroyed_cb): destroy the dialog if still around. svn path=/trunk/; revision=28956
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-notify-dialog.h')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.h b/calendar/gui/alarm-notify/alarm-notify-dialog.h
index 91861aaa99..cf01f76af9 100644
--- a/calendar/gui/alarm-notify/alarm-notify-dialog.h
+++ b/calendar/gui/alarm-notify/alarm-notify-dialog.h
@@ -24,6 +24,7 @@
#include <time.h>
#include <glib.h>
#include <libecal/e-cal-component.h>
+#include <gtk/gtkwidget.h>
@@ -35,10 +36,10 @@ typedef enum {
typedef void (* AlarmNotifyFunc) (AlarmNotifyResult result, int snooze_mins, gpointer data);
-void alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end,
- ECalComponentVType vtype, const char *summary,
- const char *description, const char *location,
- AlarmNotifyFunc func, gpointer func_data);
+GtkWidget *alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end,
+ ECalComponentVType vtype, const char *summary,
+ const char *description, const char *location,
+ AlarmNotifyFunc func, gpointer func_data);
#endif