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/e-component-view.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shell/e-component-view.c') diff --git a/shell/e-component-view.c b/shell/e-component-view.c index 51b6310ef0..faa9389475 100644 --- a/shell/e-component-view.c +++ b/shell/e-component-view.c @@ -96,7 +96,7 @@ e_component_view_init (EComponentView *shell) EComponentView *e_component_view_new(GNOME_Evolution_ShellView parent, const char *id, struct _GtkWidget *side, struct _GtkWidget *view, struct _GtkWidget *statusbar) { EComponentView *new = g_object_new (e_component_view_get_type (), NULL); - CORBA_Environment ev = { 0 }; + CORBA_Environment ev = { NULL }; new->id = g_strdup(id); new->shell_view = CORBA_Object_duplicate(parent, &ev); @@ -113,7 +113,7 @@ EComponentView *e_component_view_new(GNOME_Evolution_ShellView parent, const cha EComponentView *e_component_view_new_controls(GNOME_Evolution_ShellView parent, const char *id, BonoboControl *side, BonoboControl *view, BonoboControl *statusbar) { EComponentView *new = g_object_new (e_component_view_get_type (), NULL); - CORBA_Environment ev = { 0 }; + CORBA_Environment ev = { NULL }; new->id = g_strdup(id); new->shell_view = CORBA_Object_duplicate(parent, &ev); @@ -130,7 +130,7 @@ EComponentView *e_component_view_new_controls(GNOME_Evolution_ShellView parent, void e_component_view_set_title(EComponentView *ecv, const char *title) { - CORBA_Environment ev = { 0 }; + CORBA_Environment ev = { NULL }; /* save roundtrips, check title is the same */ GNOME_Evolution_ShellView_setTitle(ecv->shell_view, ecv->id, title, &ev); @@ -140,7 +140,7 @@ e_component_view_set_title(EComponentView *ecv, const char *title) void e_component_view_set_button_icon (EComponentView *ecv, const char *iconName) { - CORBA_Environment ev = { 0 }; + CORBA_Environment ev = { NULL }; /* save roundtrips, check title is the same */ GNOME_Evolution_ShellView_setButtonIcon(ecv->shell_view, ecv->id, iconName, &ev); -- cgit