From 35561cc3d67de5a8fd9c4a2c005dcaefe84a9153 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Tue, 1 Apr 2003 06:00:07 +0000 Subject: make the verbs static so they don't enter the global namespace. 2003-03-31 Larry Ewing * e-summary-factory.c: make the verbs static so they don't enter the global namespace. svn path=/trunk/; revision=20608 --- my-evolution/ChangeLog | 5 +++++ my-evolution/e-summary-factory.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'my-evolution') diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index e8e66eb5e8..89018b2a22 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,8 @@ +2003-03-31 Larry Ewing + + * e-summary-factory.c: make the verbs static so they don't enter + the global namespace. + 2003-03-27 Ettore Perazzoli [#40358] diff --git a/my-evolution/e-summary-factory.c b/my-evolution/e-summary-factory.c index 01f6186ffd..521ebc3120 100644 --- a/my-evolution/e-summary-factory.c +++ b/my-evolution/e-summary-factory.c @@ -37,7 +37,7 @@ #include "e-summary-preferences.h" #include "evolution-shell-component-utils.h" /* For E_PIXMAP */ -BonoboUIVerb verbs[] = { +static BonoboUIVerb summary_verbs[] = { BONOBO_UI_VERB ("PrintMyEvolution", e_summary_print), BONOBO_UI_VERB ("Reload", e_summary_reload), BONOBO_UI_VERB_END @@ -61,7 +61,7 @@ control_activate (BonoboControl *control, bonobo_ui_component_set_container (ui_component, container, NULL); bonobo_object_release_unref (container, NULL); - bonobo_ui_component_add_verb_list_with_data (ui_component, verbs, summary); + bonobo_ui_component_add_verb_list_with_data (ui_component, summary_verbs, summary); bonobo_ui_component_freeze (ui_component, NULL); bonobo_ui_util_set_ui (ui_component, EVOLUTION_DATADIR, -- cgit v1.2.3