aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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 /e-util
parentea3e4f239a529716452159d5deac20cd9a38c832 (diff)
downloadgsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.gz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.zst
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.zip
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-bconf-map.h2
-rw-r--r--e-util/e-config.h4
-rw-r--r--e-util/e-cursor.h6
-rw-r--r--e-util/e-event.h2
-rw-r--r--e-util/e-menu.h2
-rw-r--r--e-util/e-profile-event.h4
-rw-r--r--e-util/e-signature-list.h2
7 files changed, 10 insertions, 12 deletions
diff --git a/e-util/e-bconf-map.h b/e-util/e-bconf-map.h
index f47368de78..1d72119c8c 100644
--- a/e-util/e-bconf-map.h
+++ b/e-util/e-bconf-map.h
@@ -41,7 +41,7 @@ enum {
E_BCONF_MAP_ENUM, /* long/bool -> prop of name 'to', with the value indexed into the child map table's from field */
E_BCONF_MAP_CHILD, /* a new child of name 'to' */
E_BCONF_MAP_MASK = 0x3f,
- E_BCONF_MAP_CONTENT = 0x80, /* if set, create a new node of name 'to' instead of a property */
+ E_BCONF_MAP_CONTENT = 0x80 /* if set, create a new node of name 'to' instead of a property */
};
typedef struct _e_bconf_map {
diff --git a/e-util/e-config.h b/e-util/e-config.h
index 2eeb663d59..1ee7e29b58 100644
--- a/e-util/e-config.h
+++ b/e-util/e-config.h
@@ -75,7 +75,7 @@ typedef struct _GtkWidget * (*EConfigItemFactoryFunc)(EConfig *ec, EConfigItem *
typedef
enum _e_config_target_change_t {
E_CONFIG_TARGET_CHANGED_STATE,
- E_CONFIG_TARGET_CHANGED_REBUILD,
+ E_CONFIG_TARGET_CHANGED_REBUILD
} e_config_target_change_t;
/**
@@ -123,7 +123,7 @@ enum _e_config_t {
E_CONFIG_SECTION,
E_CONFIG_SECTION_TABLE,
E_CONFIG_ITEM,
- E_CONFIG_ITEM_TABLE, /* only allowed in table sections */
+ E_CONFIG_ITEM_TABLE /* only allowed in table sections */
};
/**
diff --git a/e-util/e-cursor.h b/e-util/e-cursor.h
index 9e1a228316..f0b78b3126 100644
--- a/e-util/e-cursor.h
+++ b/e-util/e-cursor.h
@@ -27,11 +27,9 @@
#include <gtk/gtk.h>
typedef enum {
-
E_CURSOR_NORMAL,
- E_CURSOR_BUSY,
-
-}ECursorType;
+ E_CURSOR_BUSY
+} ECursorType;
void e_cursor_set (GtkWidget *widget, ECursorType cursor);
diff --git a/e-util/e-event.h b/e-util/e-event.h
index 074d8deed2..c97f1b30bc 100644
--- a/e-util/e-event.h
+++ b/e-util/e-event.h
@@ -60,7 +60,7 @@ typedef void (*EEventFactoryFunc)(EEvent *ee, void *);
**/
enum _e_event_t {
E_EVENT_PASS, /* passthrough */
- E_EVENT_SINK, /* sink events */
+ E_EVENT_SINK /* sink events */
};
/**
diff --git a/e-util/e-menu.h b/e-util/e-menu.h
index e6ee11f304..f844f80400 100644
--- a/e-util/e-menu.h
+++ b/e-util/e-menu.h
@@ -68,7 +68,7 @@ enum _e_menu_t {
E_MENU_TOGGLE,
E_MENU_RADIO,
E_MENU_TYPE_MASK = 0xffff,
- E_MENU_ACTIVE = 0x10000,
+ E_MENU_ACTIVE = 0x10000
};
/**
diff --git a/e-util/e-profile-event.h b/e-util/e-profile-event.h
index b7ac21adc1..dd84671902 100644
--- a/e-util/e-profile-event.h
+++ b/e-util/e-profile-event.h
@@ -42,14 +42,14 @@ typedef struct _EProfileEventClass EProfileEventClass;
/* Current target description */
enum _e_profile_event_target_t {
- E_PROFILE_EVENT_TARGET,
+ E_PROFILE_EVENT_TARGET
};
/* Flags that qualify a target (UNIMPLEMENTED) */
enum {
E_PROFILE_EVENT_START = 1<< 0,
E_PROFILE_EVENT_END = 1<< 1,
- E_PROFILE_EVENT_CANCEL = 1<< 2,
+ E_PROFILE_EVENT_CANCEL = 1<< 2
};
typedef struct _EProfileEventTarget EProfileEventTarget;
diff --git a/e-util/e-signature-list.h b/e-util/e-signature-list.h
index 4edd48a7dd..cfaa64c28a 100644
--- a/e-util/e-signature-list.h
+++ b/e-util/e-signature-list.h
@@ -41,7 +41,7 @@ typedef struct _ESignatureListClass ESignatureListClass;
/* search options for the find command */
typedef enum {
E_SIGNATURE_FIND_NAME,
- E_SIGNATURE_FIND_UID,
+ E_SIGNATURE_FIND_UID
} e_signature_find_t;
struct _ESignatureList {