diff options
author | Evan Huus <eapache@gmail.com> | 2013-03-01 01:39:33 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-03-01 01:39:33 +0000 |
commit | e4c436d10ac97000f136877d72a14ce37ac418fd (patch) | |
tree | df20bf1e820c84f56db5417e9e63297c2e6fa32c /ui/gtk/color_edit_dlg.c | |
parent | 88ad3f8282ef3ff24296a08ebf8aa61a37cef824 (diff) |
Add some 'const's to satisfy latest GCC.
svn path=/trunk/; revision=47961
Diffstat (limited to 'ui/gtk/color_edit_dlg.c')
-rw-r--r-- | ui/gtk/color_edit_dlg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/color_edit_dlg.c b/ui/gtk/color_edit_dlg.c index e46a7e8a69..0af33b9b87 100644 --- a/ui/gtk/color_edit_dlg.c +++ b/ui/gtk/color_edit_dlg.c @@ -110,7 +110,7 @@ struct _color_selection_dlg_info_t { color_selection_type_t color_selection_type; /* FG/BG */ color_filter_t *colorf; color_t *color; /* ptr to FG or BG color struct in colorf */ - gchar *color_selection_type_text; + const gchar *color_selection_type_text; GtkWidget *filt_name_entry; }; typedef struct _color_selection_dlg_info_t color_selection_dlg_info_t; @@ -127,9 +127,9 @@ filter_expr_cb(GtkWidget *w _U_, gpointer filter_te) static void colorize_filter_new(GtkWidget *colorize_hbox, color_selection_type_t color_selection_type, - gchar *t1, /* "Foreground" */ - gchar *t2, /* "Foreground Color..." */ - gchar *t3, /* "Select foreground color for data display" */ + const gchar *t1, /* "Foreground" */ + const gchar *t2, /* "Foreground Color..." */ + const gchar *t3, /* "Select foreground color for data display" */ color_filter_t *colorf, color_t *color, GtkWidget *filt_name_entry) |