diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2007-10-24 22:10:02 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2007-10-24 22:10:02 +0800 |
commit | a1fb36c15210deac4ca989703587060c549c6e51 (patch) | |
tree | aad1cc8f64bd5763c4f84dd71ac8e9f82a9286ea /calendar/gui/e-cal-event.c | |
parent | 6aac3505d7e99b866fc8d884c8c4615330f9d131 (diff) | |
download | gsoc2013-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/e-cal-event.c')
-rw-r--r-- | calendar/gui/e-cal-event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-cal-event.c b/calendar/gui/e-cal-event.c index d104bc0865..25ccf624c0 100644 --- a/calendar/gui/e-cal-event.c +++ b/calendar/gui/e-cal-event.c @@ -85,7 +85,7 @@ e_cal_event_peek (void) { static ECalEvent *e_cal_event = NULL; if (!e_cal_event) { - e_cal_event = g_object_new (e_cal_event_get_type (), 0); + e_cal_event = g_object_new (e_cal_event_get_type (), NULL); e_event_construct (&e_cal_event->event, "org.gnome.evolution.calendar.events"); } return e_cal_event; @@ -108,12 +108,12 @@ static void *eceh_parent_class; static const EEventHookTargetMask eceh_component_masks[] = { { "migration", E_CAL_EVENT_COMPONENT_MIGRATION }, - { 0 }, + { NULL }, }; static const EEventHookTargetMap eceh_targets[] = { { "component", E_CAL_EVENT_TARGET_COMPONENT, eceh_component_masks }, - { 0 }, + { NULL }, }; static void |