diff options
-rw-r--r-- | my-evolution/ChangeLog | 5 | ||||
-rw-r--r-- | my-evolution/e-summary-factory.c | 4 |
2 files changed, 7 insertions, 2 deletions
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 <lewing@ximian.com> + + * e-summary-factory.c: make the verbs static so they don't enter + the global namespace. + 2003-03-27 Ettore Perazzoli <ettore@ximian.com> [#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, |