aboutsummaryrefslogtreecommitdiffstats
path: root/shell/es-menu.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-menu.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-menu.c')
-rw-r--r--shell/es-menu.c6
1 files changed, 3 insertions, 3 deletions
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