diff options
author | Paolo Borelli <pborelli@katamail.com> | 2005-04-30 19:26:11 +0000 |
---|---|---|
committer | Paolo Borelli <pborelli@src.gnome.org> | 2005-04-30 19:26:11 +0000 |
commit | 336d9e99702abf8417182e3cb107f7e1c5c4f9b2 (patch) | |
tree | a3f9b3cccdb8a20ef371b839a7bd315ef6408035 | |
parent | 87a54b02f90d9fd2aef3420230d39f7802955df5 (diff) | |
download | yelp-336d9e99702abf8417182e3cb107f7e1c5c4f9b2.tar.gz |
yelp-bookmarks.c: constify some vars. yelp-settings.c: ditto.
2005-04-30 Paolo Borelli <pborelli@katamail.com>
yelp-bookmarks.c: constify some vars.
yelp-settings.c: ditto.
yelp-window.c: ditto.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/yelp-bookmarks.c | 4 | ||||
-rw-r--r-- | src/yelp-settings.c | 4 | ||||
-rw-r--r-- | src/yelp-window.c | 2 |
4 files changed, 11 insertions, 5 deletions
@@ -1,3 +1,9 @@ +2005-04-30 Paolo Borelli <pborelli@katamail.com> + + yelp-bookmarks.c: constify some vars. + yelp-settings.c: ditto. + yelp-window.c: ditto. + 2005-04-14 Abduxukur Abdurixit <abduxukur.abdurixit@t-systems.ch> * configure.in: Added "ug" to ALL_LINGUAS. diff --git a/src/yelp-bookmarks.c b/src/yelp-bookmarks.c index 928940ad..189217f6 100644 --- a/src/yelp-bookmarks.c +++ b/src/yelp-bookmarks.c @@ -81,7 +81,7 @@ struct _YelpWindowData { GtkActionGroup *doc_actions; }; -static const char *ui_description = +static const char ui_description[] = "<ui>" " <popup>" " <menuitem action='OpenName'/>" @@ -150,7 +150,7 @@ static gboolean bookmarks_configure_cb (GtkWidget *widget, static void selection_changed_cb (GtkTreeSelection *selection, gpointer data); -static GtkActionEntry popup_entries[] = { +static const GtkActionEntry popup_entries[] = { { "OpenName", GTK_STOCK_OPEN, N_("Open Bookmark in New Window"), NULL, NULL, diff --git a/src/yelp-settings.c b/src/yelp-settings.c index e693bff7..ea70011e 100644 --- a/src/yelp-settings.c +++ b/src/yelp-settings.c @@ -50,7 +50,7 @@ #define d(x) #endif -static const gchar *color_params[YELP_NUM_COLORS] = { +static const gchar * const color_params[YELP_NUM_COLORS] = { "yelp.color.text", "yelp.color.anchor", "yelp.color.background", @@ -67,7 +67,7 @@ static const gchar *color_params[YELP_NUM_COLORS] = { "yelp.color.yellow.fg" }; -static const gchar *icon_params[YELP_NUM_ICONS] = { +static const gchar * const icon_params[YELP_NUM_ICONS] = { "yelp.icon.blockquote", "yelp.icon.caution", "yelp.icon.important", diff --git a/src/yelp-window.c b/src/yelp-window.c index 740873e2..a0d55967 100644 --- a/src/yelp-window.c +++ b/src/yelp-window.c @@ -288,7 +288,7 @@ enum { TARGET_URI_LIST }; -static GtkActionEntry entries[] = { +static const GtkActionEntry entries[] = { { "FileMenu", NULL, N_("_File") }, { "EditMenu", NULL, N_("_Edit") }, { "GoMenu", NULL, N_("_Go") }, |