aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/importers
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/importers
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/importers')
-rw-r--r--calendar/importers/icalendar-importer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c
index cbdbb70ded..5055e1a3ea 100644
--- a/calendar/importers/icalendar-importer.c
+++ b/calendar/importers/icalendar-importer.c
@@ -62,11 +62,11 @@ typedef struct {
icalcomponent *icalcomp;
- int cancelled:1;
+ guint cancelled:1;
} ICalImporter;
typedef struct {
- int cancelled:1;
+ guint cancelled:1;
} ICalIntelligentImporter;
static const int import_type_map[] = {
@@ -506,7 +506,7 @@ vcal_supported(EImport *ei, EImportTarget *target, EImportImporter *im)
static icalcomponent*
load_vcalendar_file (const char *filename)
{
- icalvcal_defaults defaults = { 0 };
+ icalvcal_defaults defaults = { NULL };
icalcomponent *icalcomp = NULL;
char *contents;
char *default_alarm_filename;