aboutsummaryrefslogtreecommitdiffstats
path: root/shell
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 /shell
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 'shell')
-rw-r--r--shell/e-component-registry.h2
-rw-r--r--shell/e-shell-window.c2
-rw-r--r--shell/es-event.h2
-rw-r--r--shell/es-menu.h4
4 files changed, 5 insertions, 5 deletions
diff --git a/shell/e-component-registry.h b/shell/e-component-registry.h
index fa0de9c5c1..474dba871d 100644
--- a/shell/e-component-registry.h
+++ b/shell/e-component-registry.h
@@ -59,7 +59,7 @@ struct _EComponentRegistryClass {
enum _EComponentRegistryField {
ECR_FIELD_ID,
ECR_FIELD_ALIAS,
- ECR_FIELD_SCHEMA,
+ ECR_FIELD_SCHEMA
};
struct _EComponentInfo {
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 9d6905203b..548e987588 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -913,7 +913,7 @@ store_window_size (GtkWidget* widget)
g_object_unref(client);
E_SHELL_WINDOW (widget)->priv->store_window_size_timer = 0;
- return FALSE; // remove this timeout
+ return FALSE; /* remove this timeout */
}
static void
diff --git a/shell/es-event.h b/shell/es-event.h
index ca12eb22dd..ed248d11df 100644
--- a/shell/es-event.h
+++ b/shell/es-event.h
@@ -49,7 +49,7 @@ enum _es_event_target_t {
/* Flags that qualify TARGET_STATE */
enum {
ES_EVENT_STATE_ONLINE = 1<<0,
- ES_EVENT_STATE_OFFLINE = 1<<1,
+ ES_EVENT_STATE_OFFLINE = 1<<1
};
typedef struct _ESEventTargetState ESEventTargetState;
diff --git a/shell/es-menu.h b/shell/es-menu.h
index 7ea4df5576..89f60112c6 100644
--- a/shell/es-menu.h
+++ b/shell/es-menu.h
@@ -39,13 +39,13 @@ typedef struct _ESMenuClass ESMenuClass;
/* Current target description */
/* Types of popup tagets */
enum _es_menu_target_t {
- ES_MENU_TARGET_SHELL,
+ ES_MENU_TARGET_SHELL
};
/* Flags that describe a TARGET_SHELL */
enum {
ES_MENU_SHELL_ONLINE = 1<<0,
- ES_MENU_SHELL_OFFLINE = 1<<1,
+ ES_MENU_SHELL_OFFLINE = 1<<1
};
typedef struct _ESMenuTargetShell ESMenuTargetShell;