Commit e946fcf6 authored by Raph Levien's avatar Raph Levien

Change to testgtk to go along with GdkRgb integration into gtk_preview.

parent f1a524a2
1998-08-19 Raph Levien <raph@gimp.org>
* gtk/testgtk.c (create_color_preview): pushed the colormap and
visual so it would work better with GdkRgb.
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
......
1998-08-19 Raph Levien <raph@gimp.org>
* gtk/testgtk.c (create_color_preview): pushed the colormap and
visual so it would work better with GdkRgb.
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
......
1998-08-19 Raph Levien <raph@gimp.org>
* gtk/testgtk.c (create_color_preview): pushed the colormap and
visual so it would work better with GdkRgb.
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
......
1998-08-19 Raph Levien <raph@gimp.org>
* gtk/testgtk.c (create_color_preview): pushed the colormap and
visual so it would work better with GdkRgb.
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
......
1998-08-19 Raph Levien <raph@gimp.org>
* gtk/testgtk.c (create_color_preview): pushed the colormap and
visual so it would work better with GdkRgb.
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
......
1998-08-19 Raph Levien <raph@gimp.org>
* gtk/testgtk.c (create_color_preview): pushed the colormap and
visual so it would work better with GdkRgb.
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
......
1998-08-19 Raph Levien <raph@gimp.org>
* gtk/testgtk.c (create_color_preview): pushed the colormap and
visual so it would work better with GdkRgb.
1998-08-19 Raph Levien <raph@gimp.org>
* gdk/gdkrgb.c: fixed some bugs in the 565_d mode, and added a
......
......@@ -6602,7 +6602,11 @@ create_color_preview (void)
if (!window)
{
gtk_widget_push_visual (gdk_rgb_get_visual ());
gtk_widget_push_colormap (gdk_rgb_get_cmap ());
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_pop_colormap ();
gtk_widget_pop_visual ();
gtk_signal_connect (GTK_OBJECT (window), "destroy",
GTK_SIGNAL_FUNC(color_preview_destroy),
......
......@@ -6602,7 +6602,11 @@ create_color_preview (void)
if (!window)
{
gtk_widget_push_visual (gdk_rgb_get_visual ());
gtk_widget_push_colormap (gdk_rgb_get_cmap ());
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_pop_colormap ();
gtk_widget_pop_visual ();
gtk_signal_connect (GTK_OBJECT (window), "destroy",
GTK_SIGNAL_FUNC(color_preview_destroy),
......
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