aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm-notify/alarm-notify.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-24 22:10:02 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-24 22:10:02 +0800
commita1fb36c15210deac4ca989703587060c549c6e51 (patch)
treeaad1cc8f64bd5763c4f84dd71ac8e9f82a9286ea /calendar/gui/alarm-notify/alarm-notify.c
parent6aac3505d7e99b866fc8d884c8c4615330f9d131 (diff)
downloadgsoc2013-evolution-a1fb36c15210deac4ca989703587060c549c6e51.tar.gz
gsoc2013-evolution-a1fb36c15210deac4ca989703587060c549c6e51.tar.zst
gsoc2013-evolution-a1fb36c15210deac4ca989703587060c549c6e51.zip
Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations -
2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/alarm-notify/alarm-notify-dialog.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/alarm-queue.c: * gui/alarm-notify/config-data.c: * gui/cal-search-bar.c: * gui/calendar-commands.c: * gui/calendar-config.c: * gui/dialogs/alarm-dialog.c: * gui/dialogs/alarm-list-dialog.c: * gui/dialogs/cal-prefs-dialog.c: * gui/dialogs/comp-editor.c: * gui/dialogs/event-page.c: * gui/dialogs/recurrence-page.c: * gui/e-alarm-list.c: * gui/e-cal-config.c: * gui/e-cal-event.c: * gui/e-cal-menu.c: * gui/e-cal-popup.c: * gui/e-calendar-table.c: * gui/e-calendar-view.c: * gui/e-date-time-list.c: * gui/e-day-view-main-item.c: * gui/e-day-view-time-item.c: * gui/e-day-view.c: * gui/e-itip-control.c: * gui/e-meeting-list-view.c: * gui/e-memo-table.c: * gui/e-select-names-editable.c: * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/goto.c: * gui/migration.c: * gui/print.c: * gui/tasks-control.c: * importers/icalendar-importer.c: Warning fixes: - NULL vs 0 vs FALSE/TRUE - ANSIfication of declarations - mixing declarations and code - mark some code static - remove use of some deprecated Gtk+ apis svn path=/trunk/; revision=34420
Diffstat (limited to 'calendar/gui/alarm-notify/alarm-notify.c')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify.c4
1 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 bc86a42abc..9044f2d5d6 100644
--- a/calendar/gui/alarm-notify/alarm-notify.c
+++ b/calendar/gui/alarm-notify/alarm-notify.c
@@ -371,8 +371,8 @@ alarm_notify_new (void)
alarm_channel_setup(&alarm_reply_port, &alarm_reply_channel, alarm_msgport_replied);
alarm_operation_thread = e_thread_new(E_THREAD_QUEUE);
- e_thread_set_msg_destroy(alarm_operation_thread, alarm_msg_destroy, 0);
- e_thread_set_msg_received(alarm_operation_thread, alarm_msg_received, 0);
+ e_thread_set_msg_destroy(alarm_operation_thread, alarm_msg_destroy, NULL);
+ e_thread_set_msg_received(alarm_operation_thread, alarm_msg_received, NULL);
e_thread_set_reply_port(alarm_operation_thread, alarm_reply_port);
an = g_object_new (TYPE_ALARM_NOTIFY,