Commit 1406c936 authored by Manish Singh's avatar Manish Singh

Ok, hope this colormap thing works this time.

-Yosh
parent faf00e7e
......@@ -196,12 +196,12 @@ get_standard_colormaps ()
gtk_preview_set_install_cmap (install_cmap);
gtk_preview_set_reserved (reserved_entries);
gtk_widget_set_default_visual (gtk_preview_get_visual ());
gtk_widget_set_default_colormap (gtk_preview_get_cmap ());
/* so we can reinit the colormaps */
gtk_preview_reset ();
gtk_widget_set_default_visual (gtk_preview_get_visual ());
gtk_widget_set_default_colormap (gtk_preview_get_cmap ());
info = gtk_preview_get_info ();
g_visual = info->visual;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment