aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/prefs-dialog.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 1fda45f8d..79160a651 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-19 Christian Persch <chpe@gnome.org>
+
+ * src/prefs-dialog.c: (prefs_dialog_show_help):
+
+ Make this string static.
+
2007-05-13 Christian Persch <chpe@gnome.org>
* configure.ac:
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 1dffc4e20..4d222fe48 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -102,8 +102,7 @@ static const char * const size_prefs [] =
CONF_RENDERING_FONT_MIN_SIZE
};
-const
-int default_size [] =
+static const int default_size [] =
{
10,
11,
@@ -371,7 +370,7 @@ prefs_dialog_show_help (EphyDialog *dialog)
GtkWidget *window, *notebook;
int id;
- static char * const help_preferences[] = {
+ static const char help_preferences[][28] = {
"general-preferences",
"fonts-and-style-preferences",
"privacy-preferences",