pidgin/gtkprivacy.c

changeset 21091
07fe1a99c47b
parent 20147
66f05a854eee
child 21453
a90cf329cd48
--- a/pidgin/gtkprivacy.c	Fri Oct 26 00:13:18 2007 +0000
+++ b/pidgin/gtkprivacy.c	Fri Oct 26 04:59:23 2007 +0000
@@ -75,7 +75,7 @@
 	const char *text;
 	int num;
 
-} menu_entries[] =
+} const menu_entries[] =
 {
 	{ N_("Allow all users to contact me"),         PURPLE_PRIVACY_ALLOW_ALL },
 	{ N_("Allow only the users on my buddy list"), PURPLE_PRIVACY_ALLOW_BUDDYLIST },
@@ -84,7 +84,7 @@
 	{ N_("Block only the users below"),            PURPLE_PRIVACY_DENY_USERS }
 };
 
-static size_t menu_entry_count = sizeof(menu_entries) / sizeof(*menu_entries);
+static const size_t menu_entry_count = sizeof(menu_entries) / sizeof(*menu_entries);
 
 static PidginPrivacyDialog *privacy_dialog = NULL;
 

mercurial