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-config.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-config.c')
-rw-r--r-- | calendar/gui/e-cal-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-cal-config.c b/calendar/gui/e-cal-config.c index 3066d4f911..13ad4eb6ac 100644 --- a/calendar/gui/e-cal-config.c +++ b/calendar/gui/e-cal-config.c @@ -138,7 +138,7 @@ e_cal_config_get_type (void) ECalConfig * e_cal_config_new (int type, const char *menuid) { - ECalConfig *ecp = g_object_new (e_cal_config_get_type(), 0); + ECalConfig *ecp = g_object_new (e_cal_config_get_type(), NULL); e_config_construct (&ecp->config, type, menuid); return ecp; } @@ -167,13 +167,13 @@ e_cal_config_target_new_prefs (ECalConfig *ecp, struct _GConfClient *gconf) } static const EConfigHookTargetMask ecph_no_masks[] = { - { 0 } + { NULL } }; static const EConfigHookTargetMap ecph_targets[] = { { "source", EC_CONFIG_TARGET_SOURCE, ecph_no_masks }, { "prefs", EC_CONFIG_TARGET_PREFS, ecph_no_masks }, - { 0 }, + { NULL }, }; static void |