[evolution-mapi] Declare UI definitions as static



commit 33e0e234d640ed0178b77e1e23be7ef4d3bbd9ed
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jul 30 21:11:57 2012 +0200

    Declare UI definitions as static

 src/configuration/e-mapi-config-utils.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/configuration/e-mapi-config-utils.c b/src/configuration/e-mapi-config-utils.c
index ac2afb6..2c50ab7 100644
--- a/src/configuration/e-mapi-config-utils.c
+++ b/src/configuration/e-mapi-config-utils.c
@@ -1107,7 +1107,7 @@ mapi_ui_init_calendar (GtkUIManager *ui_manager,
 		calendar_context_entries, G_N_ELEMENTS (calendar_context_entries));
 }
 
-GtkActionEntry tasks_context_entries[] = {
+static GtkActionEntry tasks_context_entries[] = {
 
 	{ "tasks-mapi-folder-permissions",
 	  "folder-new",
@@ -1117,7 +1117,7 @@ GtkActionEntry tasks_context_entries[] = {
 	  G_CALLBACK (action_folder_permissions_source_cb) }
 };
 
-const gchar *mapi_ui_task_def =
+static const gchar *mapi_ui_task_def =
 	"<popup name=\"task-list-popup\">\n"
 	"  <placeholder name=\"task-list-popup-actions\">\n"
 	"    <menuitem action=\"tasks-mapi-folder-permissions\"/>\n"
@@ -1147,7 +1147,7 @@ static GtkActionEntry memos_context_entries[] = {
 	  G_CALLBACK (action_folder_permissions_source_cb) }
 };
 
-const gchar *mapi_ui_memo_def =
+static const gchar *mapi_ui_memo_def =
 	"<popup name=\"memo-list-popup\">\n"
 	"  <placeholder name=\"memo-list-popup-actions\">\n"
 	"    <menuitem action=\"memos-mapi-folder-permissions\"/>\n"
@@ -1177,7 +1177,7 @@ static GtkActionEntry contacts_context_entries[] = {
 	  G_CALLBACK (action_folder_permissions_source_cb) }
 };
 
-const gchar *mapi_ui_book_def =
+static const gchar *mapi_ui_book_def =
 	"<popup name=\"address-book-popup\">\n"
 	"  <placeholder name=\"address-book-popup-actions\">\n"
 	"    <menuitem action=\"contacts-mapi-folder-permissions\"/>\n"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]