]> Pileus Git - ~andy/gtk/blobdiff - modules/engines/pixbuf/pixbuf-rc-style.c
const correctness fixes
[~andy/gtk] / modules / engines / pixbuf / pixbuf-rc-style.c
index e90cee19ede1b769cf825b9c8ca6eed72b0c6140..e688927c580b134027d39e24091033c3f768fb6f 100644 (file)
@@ -36,7 +36,7 @@ static GtkStyle *pixbuf_rc_style_create_style (GtkRcStyle         *rc_style);
 
 static void theme_image_unref (ThemeImage *data);
 
-static struct
+static const struct
   {
     gchar              *name;
     guint               token;
@@ -808,6 +808,6 @@ pixbuf_rc_style_merge (GtkRcStyle *dest,
 static GtkStyle *
 pixbuf_rc_style_create_style (GtkRcStyle *rc_style)
 {
-  return GTK_STYLE (g_object_new (PIXBUF_TYPE_STYLE, NULL));
+  return g_object_new (PIXBUF_TYPE_STYLE, NULL);
 }