aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
commite4fa8fe10408c4c370e1e11e4bb2d7745f50aceb (patch)
tree319f9a8d7601f7f0d028e6942aced54c439b8693 /plugins/publish-calendar
parentea3e4f239a529716452159d5deac20cd9a38c832 (diff)
downloadgsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.gz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.bz2
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.lz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.xz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.zst
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.zip
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'plugins/publish-calendar')
-rw-r--r--plugins/publish-calendar/publish-location.h10
-rw-r--r--plugins/publish-calendar/url-editor-dialog.h4
2 files changed, 5 insertions, 9 deletions
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;