From a538f3f3100dbdbae1ea172ae3b8344e650d529d 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. --- e-util/e-bconf-map.h | 2 +- e-util/e-config.h | 4 ++-- e-util/e-cursor.h | 6 ++---- e-util/e-event.h | 2 +- e-util/e-menu.h | 2 +- e-util/e-profile-event.h | 4 ++-- e-util/e-signature-list.h | 2 +- 7 files changed, 10 insertions(+), 12 deletions(-) (limited to 'e-util') 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 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 { -- cgit v1.2.3