aboutsummaryrefslogtreecommitdiffstats
path: root/shell/es-event.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2007-10-26 16:40:03 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2007-10-26 16:40:03 +0800
commit5b97425db517f77351ff72380c21e0ff3be77cd3 (patch)
tree260004c4a714adae56b0be4eb56d65ef49a0fb61 /shell/es-event.c
parentac2923d34b8eae31908ee1c4611fab81ff5419ba (diff)
downloadgsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.tar
gsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.tar.gz
gsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.tar.bz2
gsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.tar.lz
gsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.tar.xz
gsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.tar.zst
gsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.zip
Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of declarations - guint
2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-component-registry.c: (query_components): * e-component-view.c: (e_component_view_new), (e_component_view_new_controls), (e_component_view_set_title), (e_component_view_set_button_icon): * e-config-upgrade.c: * e-shell-settings-dialog.c: (e_shell_settings_dialog_new): * e-shell-window.c: (component_view_free): * es-event.c: (es_event_peek): * es-menu.c: (es_menu_new): * importer/evolution-importer-client.c: (evolution_importer_client_create_control): Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of declarations - guint for 1-bit bitfields svn path=/trunk/; revision=34430
Diffstat (limited to 'shell/es-event.c')
-rw-r--r--shell/es-event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/es-event.c b/shell/es-event.c
index bbdb41b0f8..78847e3f49 100644
--- a/shell/es-event.c
+++ b/shell/es-event.c
@@ -99,7 +99,7 @@ es_event_get_type(void)
ESEvent *es_event_peek(void)
{
if (es_event == NULL) {
- es_event = g_object_new(es_event_get_type(), 0);
+ es_event = g_object_new(es_event_get_type(), NULL);
/** @HookPoint: Shell Events Hookpoint
* Id: org.gnome.evolution.shell.events
*
@@ -159,14 +159,14 @@ static void *emeh_parent_class;
static const EEventHookTargetMask emeh_state_masks[] = {
{ "online", ES_EVENT_STATE_ONLINE },
{ "offline", ES_EVENT_STATE_OFFLINE },
- { 0 }
+ { NULL }
};
static const EEventHookTargetMap emeh_targets[] = {
{ "state", ES_EVENT_TARGET_STATE, emeh_state_masks },
{ "upgrade", ES_EVENT_TARGET_UPGRADE, NULL },
{ "shell", ES_EVENT_TARGET_SHELL, NULL },
- { 0 }
+ { NULL }
};
static void