summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaph Levien <raph@src.gnome.org>1998-08-20 06:59:26 +0000
committerRaph Levien <raph@src.gnome.org>1998-08-20 06:59:26 +0000
commite946fcf69d1e7b4697c53f7ba2590ad43df27450 (patch)
tree5d3a4bd1532797ce2918916b34623c5440206c6c
parentf1a524a21edb17acbef5967024c78c9249fa7c13 (diff)
downloadgtk+-e946fcf69d1e7b4697c53f7ba2590ad43df27450.tar.gz
Change to testgtk to go along with GdkRgb integration into gtk_preview.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-05
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-25
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--gtk/testgtk.c4
-rw-r--r--tests/testgtk.c4
9 files changed, 43 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0691ca573b..1e109dbbc3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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
4bpp static_color mode (for vga displays). Also fixed a '64' value
in the dither matrix, which was causing one pixel out of 16k to be
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 0691ca573b..1e109dbbc3 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,5 +1,10 @@
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
4bpp static_color mode (for vga displays). Also fixed a '64' value
in the dither matrix, which was causing one pixel out of 16k to be
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 0691ca573b..1e109dbbc3 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,5 +1,10 @@
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
4bpp static_color mode (for vga displays). Also fixed a '64' value
in the dither matrix, which was causing one pixel out of 16k to be
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 0691ca573b..1e109dbbc3 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,5 +1,10 @@
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
4bpp static_color mode (for vga displays). Also fixed a '64' value
in the dither matrix, which was causing one pixel out of 16k to be
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 0691ca573b..1e109dbbc3 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,5 +1,10 @@
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
4bpp static_color mode (for vga displays). Also fixed a '64' value
in the dither matrix, which was causing one pixel out of 16k to be
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 0691ca573b..1e109dbbc3 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,5 +1,10 @@
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
4bpp static_color mode (for vga displays). Also fixed a '64' value
in the dither matrix, which was causing one pixel out of 16k to be
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 0691ca573b..1e109dbbc3 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,5 +1,10 @@
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
4bpp static_color mode (for vga displays). Also fixed a '64' value
in the dither matrix, which was causing one pixel out of 16k to be
diff --git a/gtk/testgtk.c b/gtk/testgtk.c
index 671af648ef..f64d4e4a46 100644
--- a/gtk/testgtk.c
+++ b/gtk/testgtk.c
@@ -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),
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 671af648ef..f64d4e4a46 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -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),