diff options
author | Tim Janik <timj@gtk.org> | 1998-12-16 06:03:14 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-12-16 06:03:14 +0000 |
commit | 017dfc9e4ee30ef271b5392a5f45d37ab0ad2e87 (patch) | |
tree | 92e3c52ac9d7e59bbeaf8687d2d2c37c1eaba2c6 /gtk/gtkcolorsel.c | |
parent | 2c9c7efb2349e145f9af38677d54c4d818c069b0 (diff) | |
download | gdk-pixbuf-017dfc9e4ee30ef271b5392a5f45d37ab0ad2e87.tar.gz |
version bump to 1.1.8, binary age 0, interface age 0, depend on GLib
Wed Dec 16 05:26:32 1998 Tim Janik <timj@gtk.org>
* configure.in: version bump to 1.1.8, binary age 0, interface age 0,
depend on GLib 1.1.8.
* gdk/gdkprivate.h:
* gdk/gdkglobals.c: removed last Gdk threads specific bits.
* gtk/gtkmain.c (gtk_init): s/g_thread_supported/g_thread_supported()/.
* gtk/gtkprivate.h: changed GTK_THREADS_ENTER and GTK_THREADS_LEAVE
to function macros GTK_THREADS_ENTER() and GTK_THREADS_LEAVE().
honour G_THREADS_ENABLED in the definition of GTK_THREADS_ENTER()
and GTK_THREADS_LEAVE(). changed callers accordingly.
Diffstat (limited to 'gtk/gtkcolorsel.c')
-rw-r--r-- | gtk/gtkcolorsel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c index e33790127..23a621a27 100644 --- a/gtk/gtkcolorsel.c +++ b/gtk/gtkcolorsel.c @@ -864,7 +864,7 @@ gtk_color_selection_drag_begin (GtkWidget *widget, GdkColor bg; window = gtk_window_new(GTK_WINDOW_POPUP); - GTK_WIDGET_SET_FLAGS (window, GTK_USER_DRAW); + gtk_widget_set_app_paintable (GTK_WIDGET (window), TRUE); gtk_widget_set_usize (window, 48, 32); gtk_widget_realize (window); @@ -1028,13 +1028,13 @@ gtk_color_selection_value_timeout (GtkColorSelection *colorsel) { gint x, y; - GTK_THREADS_ENTER; + GTK_THREADS_ENTER (); gdk_window_get_pointer (colorsel->value_area->window, &x, &y, NULL); gtk_color_selection_update_value (colorsel, y); gtk_color_selection_color_changed (colorsel); - GTK_THREADS_LEAVE; + GTK_THREADS_LEAVE (); return (TRUE); } |