From 5b97425db517f77351ff72380c21e0ff3be77cd3 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Fri, 26 Oct 2007 08:40:03 +0000 Subject: Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of declarations - guint 2007-10-26 Kjartan Maraas * 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 --- shell/es-event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/es-event.c') 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 -- cgit v1.2.3