aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2007-05-20 00:40:23 +0800
committerChristian Persch <chpe@src.gnome.org>2007-05-20 00:40:23 +0800
commitcdb13031b95869f2c4eab6c8d6419cf83e85e9b2 (patch)
treedd75505cdf6d14996063f32b1327aff7eda5f073
parent01bfb29123dc28cd6f4e1250ddea8d0cd93c3ef3 (diff)
downloadgsoc2013-epiphany-cdb13031b95869f2c4eab6c8d6419cf83e85e9b2.tar
gsoc2013-epiphany-cdb13031b95869f2c4eab6c8d6419cf83e85e9b2.tar.gz
gsoc2013-epiphany-cdb13031b95869f2c4eab6c8d6419cf83e85e9b2.tar.bz2
gsoc2013-epiphany-cdb13031b95869f2c4eab6c8d6419cf83e85e9b2.tar.lz
gsoc2013-epiphany-cdb13031b95869f2c4eab6c8d6419cf83e85e9b2.tar.xz
gsoc2013-epiphany-cdb13031b95869f2c4eab6c8d6419cf83e85e9b2.tar.zst
gsoc2013-epiphany-cdb13031b95869f2c4eab6c8d6419cf83e85e9b2.zip
Make this string static.
2007-05-19 Christian Persch <chpe@gnome.org> * src/prefs-dialog.c: (prefs_dialog_show_help): Make this string static. svn path=/trunk/; revision=7032
-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",