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-menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/es-menu.c') diff --git a/shell/es-menu.c b/shell/es-menu.c index 5705ae8ea2..2d62bf16f2 100644 --- a/shell/es-menu.c +++ b/shell/es-menu.c @@ -89,7 +89,7 @@ es_menu_get_type(void) ESMenu *es_menu_new(const char *menuid) { - ESMenu *esm = g_object_new(es_menu_get_type(), 0); + ESMenu *esm = g_object_new(es_menu_get_type(), NULL); e_menu_construct(&esm->menu, menuid); @@ -126,12 +126,12 @@ static void *esph_parent_class; static const EMenuHookTargetMask esph_shell_masks[] = { { "online", ES_MENU_SHELL_ONLINE }, { "offline", ES_MENU_SHELL_OFFLINE }, - { 0 } + { NULL } }; static const EMenuHookTargetMap esph_targets[] = { { "shell", ES_MENU_TARGET_SHELL, esph_shell_masks }, - { 0 } + { NULL } }; static void -- cgit