From 72aa0d6611ca379ce79c79adff6f50ad7be94031 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Mon, 24 Jul 2000 16:10:43 +0000 Subject: [PATCH] Part 1 of a multipart commit Part 1 of a multipart commit --- gtk/gtkcolorsel.c | 2 ++ gtk/gtkrange.c | 1 + gtk/gtktypeutils.c | 2 +- gtk/gtkwindow.c | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index 61f28f8e9d..7961fe24b0 100644 --- a/gtk/gtkcolorsel.c +++ b/gtk/gtkcolorsel.c @@ -29,6 +29,8 @@ #if defined (GDK_WINDOWING_X11) #include "x11/gdkx.h" +#elif defined (GDK_WINDOWING_FB) +#include "linux-fb/gdkfb.h" #endif #include "gdk/gdkkeysyms.h" #include "gtkcolorsel.h" diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index c884e03fd7..0ff3a88090 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -1494,6 +1494,7 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment, { gtk_range_slider_update (range); gtk_range_clear_background (range); + gdk_window_process_updates (range->trough, TRUE); range->old_value = adjustment->value; } diff --git a/gtk/gtktypeutils.c b/gtk/gtktypeutils.c index f607c5a217..45a999c1d4 100644 --- a/gtk/gtktypeutils.c +++ b/gtk/gtktypeutils.c @@ -183,7 +183,7 @@ gtk_type_init (void) if (builtin_info[i].parent == G_TYPE_ENUM) type_id = g_enum_register_static (builtin_info[i].type_name, builtin_info[i].values); else if (builtin_info[i].parent == G_TYPE_FLAGS) - type_id = g_flags_register_static (builtin_info[i].type_name, builtin_info[i].values); + type_id = g_flags_register_static (builtin_info[i].type_name, (const GFlagsValue *)builtin_info[i].values); else if (builtin_info[i].parent == GTK_TYPE_BOXED) type_id = g_type_register_static (GTK_TYPE_BOXED, builtin_info[i].type_name, &tinfo); else diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 1be60d5b03..24109b8124 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -35,6 +35,8 @@ #include "win32/gdkwin32.h" #elif defined (GDK_WINDOWING_NANOX) #include "nanox/gdkprivate-nanox.h" +#elif defined (GDK_WINDOWING_FB) +#include "linux-fb/gdkfb.h" #endif #include "gtkprivate.h"