Commit 568b42bd authored by Manish Singh's avatar Manish Singh

silly visual fixes

* gdk/gdkrgb.c: silly visual fixes

* gtk/testgtk.c: call gdk_rgb_init so color preview test actually works

-Yosh
parent cad57a66
Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkrgb.c: silly visual fixes
* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
works
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
......
Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkrgb.c: silly visual fixes
* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
works
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
......
Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkrgb.c: silly visual fixes
* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
works
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
......
Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkrgb.c: silly visual fixes
* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
works
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
......
Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkrgb.c: silly visual fixes
* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
works
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
......
Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkrgb.c: silly visual fixes
* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
works
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
......
Thu Aug 20 13:04:08 PDT 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkrgb.c: silly visual fixes
* gtk/testgtk.c: call gdk_rgb_init so color preview test actually
works
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
......
......@@ -441,7 +441,7 @@ gdk_rgb_score_visual (GdkVisual *visual)
sys = (visual == gdk_visual_get_system ());
pseudo = (visual->type == GDK_VISUAL_PSEUDO_COLOR);
pseudo = (visual->type == GDK_VISUAL_PSEUDO_COLOR || visual->type == GDK_VISUAL_TRUE_COLOR);
if (gdk_rgb_verbose)
g_print ("Visual 0x%x, type = %s, depth = %d, %x:%x:%x%s; score=%x\n",
......@@ -2470,7 +2470,7 @@ gdk_rgb_select_conv (GdkImage *image)
else if (vtype == GDK_VISUAL_TRUE_COLOR && byte_order == GDK_MSB_FIRST)
{
conv = gdk_rgb_convert_truecolor_msb;
conv = gdk_rgb_convert_truecolor_msb_d;
conv_d = gdk_rgb_convert_truecolor_msb_d;
}
else if (bpp == 1 && depth == 8 && (vtype == GDK_VISUAL_PSEUDO_COLOR
#ifdef ENABLE_GRAYSCALE
......
......@@ -7683,6 +7683,8 @@ main (int argc, char *argv[])
gtk_init (&argc, &argv);
gdk_rgb_init ();
/* bindings test
*/
binding_set = gtk_binding_set_by_class (gtk_type_class (GTK_TYPE_WIDGET));
......
......@@ -7683,6 +7683,8 @@ main (int argc, char *argv[])
gtk_init (&argc, &argv);
gdk_rgb_init ();
/* bindings test
*/
binding_set = gtk_binding_set_by_class (gtk_type_class (GTK_TYPE_WIDGET));
......
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