aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2004-01-11 04:19:08 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2004-01-11 04:19:08 +0800
commitd6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5 (patch)
tree92597e29ba83f7b518d4062214a413a0dc48dd65 /calendar/gui/alarm-notify
parent2fd22d547c519e90f3dc6850d2235e122964f477 (diff)
downloadgsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar.gz
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar.bz2
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar.lz
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar.xz
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.tar.zst
gsoc2013-evolution-d6c9d8bf84fc5d59c4a8e0f6d1693627ef7414e5.zip
added missing headers.
2003-01-10 Rodrigo Moya <rodrigo@ximian.com> * gui/alarm-notify/notify-main.c: added missing headers. * gui/alarm-notify/alarm-notify.c (alarm_notify_remove_calendar): use the correct variable when calling alarm_queue_remove_client(). * gui/calendar-component.c (impl_upgradeFromVersion): removed redundant variable declarations. * gui/migration.c (process_old_dir): * gui/e-timezone-entry.c (e_timezone_entry_mnemonic_activate): * gui/e-date-time-list.c (e_date_time_list_finalize): * gui/e-alarm-list.c (e_alarm_list_finalize): fixed warnings. * gui/e-calendar-table.c: added missing prototypes at the top to avoid warnings. * gui/e-week-view.c (e_week_view_scroll_a_step): * gui/e-day-view.c (e_day_view_event_move): directly return in the default: case. * gui/e-tasks.c (setup_widgets): connect to changes on the model. (model_row_changed_cb): callback to update the HTML detailed view when the currently selected task changes. (client_obj_updated_cb): removed unused function. (set_status_message): changed to accept a variable list of arguments. (e_tasks_add_todo_uri): display status messages and get error message from backend and display it in a dialog. (cal_opened_cb, load_error, method_error, permission_error): removed unused functions. * gui/gnome-cal.c (open_ecal): added a GnomeCalendar argument, and display status messages. (gnome_calendar_construct, gnome_calendar_add_event_source): adapted to changes in open_ecal(). svn path=/trunk/; revision=24147
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c3
-rw-r--r--calendar/gui/alarm-notify/notify-main.c1
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>