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

This commit is contained in:
Raph Levien 1998-08-20 06:59:26 +00:00
parent f1a524a21e
commit e946fcf69d
9 changed files with 43 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -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),

View File

@ -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),