silly visual fixes

* gdk/gdkrgb.c: silly visual fixes

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

-Yosh
This commit is contained in:
Manish Singh 1998-08-20 20:10:52 +00:00
parent cad57a6686
commit 568b42bd52
10 changed files with 55 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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