From e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 16 May 2009 12:11:55 -0400 Subject: Fix several types of pedantic compiler warnings. --- plugins/publish-calendar/publish-location.h | 10 +++------- plugins/publish-calendar/url-editor-dialog.h | 4 ++-- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'plugins/publish-calendar') diff --git a/plugins/publish-calendar/publish-location.h b/plugins/publish-calendar/publish-location.h index ec627d18ce..327cd986fd 100644 --- a/plugins/publish-calendar/publish-location.h +++ b/plugins/publish-calendar/publish-location.h @@ -31,29 +31,25 @@ G_BEGIN_DECLS enum publish_frequency { URI_PUBLISH_DAILY, URI_PUBLISH_WEEKLY, - URI_PUBLISH_MANUAL, - /* URI_PUBLISH_AUTO, */ + URI_PUBLISH_MANUAL }; static const int publish_frequency_type_map[] = { URI_PUBLISH_DAILY, URI_PUBLISH_WEEKLY, URI_PUBLISH_MANUAL, - /* URI_PUBLISH_AUTO, */ -1, }; enum publish_format { URI_PUBLISH_AS_ICAL, - URI_PUBLISH_AS_FB, - /* URI_PUBLISH_AS_HTML, */ + URI_PUBLISH_AS_FB }; static const int publish_format_type_mask[] = { URI_PUBLISH_AS_ICAL, URI_PUBLISH_AS_FB, - /* URI_PUBLISH_AS_HTML, */ - -1, + -1 }; enum FBDurationType { diff --git a/plugins/publish-calendar/url-editor-dialog.h b/plugins/publish-calendar/url-editor-dialog.h index 3a85fc895e..94a1a71f00 100644 --- a/plugins/publish-calendar/url-editor-dialog.h +++ b/plugins/publish-calendar/url-editor-dialog.h @@ -40,7 +40,7 @@ enum { URL_LIST_ENABLED_COLUMN, URL_LIST_LOCATION_COLUMN, URL_LIST_URL_COLUMN, - URL_LIST_N_COLUMNS, + URL_LIST_N_COLUMNS }; enum { @@ -50,7 +50,7 @@ enum { TYPE_SMB, TYPE_DAV, TYPE_DAVS, - TYPE_URI, + TYPE_URI }; typedef struct _UrlEditorDialog UrlEditorDialog; -- cgit v1.2.3