summaryrefslogtreecommitdiff
path: root/gdk/gdkrgb.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-03-01 06:25:55 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-03-01 06:25:55 +0000
commit6da29b43a6bd8ddc8fd69cc316013c8ce64a2ef3 (patch)
tree20858afbdb6c86363b39ebf6f123fb74ae380ae4 /gdk/gdkrgb.c
parentd16ad30f403a1823f8cb813415a3aa1030f5a37e (diff)
downloadgdk-pixbuf-6da29b43a6bd8ddc8fd69cc316013c8ce64a2ef3.tar.gz
gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c
2005-03-01 Matthias Clasen <mclasen@redhat.com> * gdk/gdkkeyuni.c * gdk/gdkpixbuf-drawable.c * gdk/gdkrgb.c * gdk/x11/gdkdnd-x11.c * gdk/x11/gdkevents-x11.c * gdk/x11/gdkproperty-x11.c * gdk/x11/gdkvisual-x11.c * gdk-pixbuf/gdk-pixbuf.c * gtk/gtkaction.c * gtk/gtkbindings.c * gtk/gtkcolorbutton.c * gtk/gtkcombo.c * gtk/gtkcontainer.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilesel.c * gtk/gtkgamma.c * gtk/gtkiconview.c * gtk/gtkinputdialog.c * gtk/gtkitemfactory.c * gtk/gtkmenu.c * gtk/gtktextview.c * gtk/gtktooltips.c * gtk/gtktreedatalist.c * gtk/gtkuimanager.c * gtk/tree_minus.xpm * gtk/tree_plus.xpm * gtk/xdgmime/xdgmime.c * gtk/xdgmime/xdgmime.h: Move constant data to .rodata.
Diffstat (limited to 'gdk/gdkrgb.c')
-rw-r--r--gdk/gdkrgb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkrgb.c b/gdk/gdkrgb.c
index 72d5f3d61..b312f9b7d 100644
--- a/gdk/gdkrgb.c
+++ b/gdk/gdkrgb.c
@@ -54,7 +54,7 @@ typedef void (*GdkRgbConvFunc) (GdkRgbInfo *image_info, GdkImage *image,
gint x_align, gint y_align,
GdkRgbCmap *cmap);
-static const gchar* visual_names[] =
+static const gchar *const visual_names[] =
{
"static gray",
"grayscale",
@@ -127,7 +127,7 @@ struct _GdkRgbCmapInfo
static GdkRgbCmapInfo *gdk_rgb_cmap_get_info (GdkRgbCmap *cmap, GdkRgbInfo *image_info);
-static const char *gdk_rgb_key = "gdk-rgb-info";
+static const char gdk_rgb_key[] = "gdk-rgb-info";
static GQuark gdk_rgb_quark = 0;
static gboolean gdk_rgb_install_cmap = FALSE;