summaryrefslogtreecommitdiff
path: root/gtk/gtkgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkgamma.c')
-rw-r--r--gtk/gtkgamma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c
index d5e71bce0e..3d8b3bd381 100644
--- a/gtk/gtkgamma.c
+++ b/gtk/gtkgamma.c
@@ -310,7 +310,7 @@ button_realize_callback (GtkWidget *w)
i = GPOINTER_TO_INT (gtk_object_get_data (GTK_OBJECT (w), "_GtkGammaCurveIndex"));
pm = gdk_pixmap_create_from_xpm_d (w->window, &mask,
- &w->style->bg[GTK_STATE_NORMAL], xpm[i]);
+ &w->style->bg[GTK_STATE_NORMAL], (gchar **)xpm[i]);
pixmap = gtk_pixmap_new (pm, mask);
gtk_container_add (GTK_CONTAINER (w), pixmap);