diff options
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify.c | 3 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/notify-main.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify.c b/calendar/gui/alarm-notify/alarm-notify.c index b1efc7b5f1..a88cfccb91 100644 --- a/calendar/gui/alarm-notify/alarm-notify.c +++ b/calendar/gui/alarm-notify/alarm-notify.c @@ -189,13 +189,12 @@ void alarm_notify_remove_calendar (AlarmNotify *an, const char *str_uri) { AlarmNotifyPrivate *priv; - ECal *client; gpointer orig_key, orig_value; priv = an->priv; if (g_hash_table_lookup_extended (priv->uri_client_hash, str_uri, &orig_key, &orig_value)) { - alarm_queue_remove_client (client); + alarm_queue_remove_client (E_CAL (orig_value)); g_hash_table_remove (priv->uri_client_hash, str_uri); g_free (orig_key); diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c index 9c9af7c62d..79a2468f8a 100644 --- a/calendar/gui/alarm-notify/notify-main.c +++ b/calendar/gui/alarm-notify/notify-main.c @@ -26,6 +26,7 @@ #include <string.h> #include <glib.h> +#include <gtk/gtkmain.h> #include <libgnome/gnome-i18n.h> #include <libgnome/gnome-init.h> #include <libgnome/gnome-sound.h> |