From cdb13031b95869f2c4eab6c8d6419cf83e85e9b2 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 19 May 2007 16:40:23 +0000 Subject: Make this string static. 2007-05-19 Christian Persch * src/prefs-dialog.c: (prefs_dialog_show_help): Make this string static. svn path=/trunk/; revision=7032 --- ChangeLog | 6 ++++++ src/prefs-dialog.c | 5 ++--- 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 + + * src/prefs-dialog.c: (prefs_dialog_show_help): + + Make this string static. + 2007-05-13 Christian Persch * 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", -- cgit