aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2003-04-01 14:00:07 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-04-01 14:00:07 +0800
commit35561cc3d67de5a8fd9c4a2c005dcaefe84a9153 (patch)
tree03c1ff1ec6954a8dcbbd8031ad3c72f8ddcc566e /my-evolution
parentfb5893bb043ade2a123ceece1237f45c21887d0e (diff)
downloadgsoc2013-evolution-35561cc3d67de5a8fd9c4a2c005dcaefe84a9153.tar.gz
gsoc2013-evolution-35561cc3d67de5a8fd9c4a2c005dcaefe84a9153.tar.zst
gsoc2013-evolution-35561cc3d67de5a8fd9c4a2c005dcaefe84a9153.zip
make the verbs static so they don't enter the global namespace.
2003-03-31 Larry Ewing <lewing@ximian.com> * e-summary-factory.c: make the verbs static so they don't enter the global namespace. svn path=/trunk/; revision=20608
Diffstat (limited to 'my-evolution')
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-factory.c4
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,