aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-view.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/e-component-view.c
parentac2923d34b8eae31908ee1c4611fab81ff5419ba (diff)
downloadgsoc2013-evolution-5b97425db517f77351ff72380c21e0ff3be77cd3.tar.gz
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/e-component-view.c')
-rw-r--r--shell/e-component-view.c8
1 files changed, 4 insertions, 4 deletions
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);