mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Change to testgtk to go along with GdkRgb integration into gtk_preview.
This commit is contained in:
parent
f1a524a21e
commit
e946fcf69d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user