diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-06-05 15:24:59 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-06-05 15:24:59 +0000 |
commit | eb34d1939909e6167aa58396a8e74dfb8ffab06f (patch) | |
tree | dfdeb8c3900154424b646baf6d2f367bdc48f9e4 /gtk/gtkwidget.c | |
parent | f6b5d39189aa8cc0db4b4d362f34e35400e8687b (diff) | |
download | gtk+-eb34d1939909e6167aa58396a8e74dfb8ffab06f.tar.gz |
Hack gdk_event_get_graphics_expose() to sort of work by adding an extra
Mon Jun 5 13:29:31 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c: Hack gdk_event_get_graphics_expose()
to sort of work by adding an extra return_exposes arg
to gdk_event_translate() - it might be better to simply
deprecate the function altogether and force people to rewrite
without it. gdk_window_scroll() handles most of it, and where
gdk_window_scroll() doesn't work, simply redrawing more does.
* gtk/gtkwidget.c (gtk_widget_set_default_direction): Fix up
assertion.
* gtk-config.in: Include PANGO_CFLAGS/LIBS.
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Remove a
bunch of pretty much useless /* Print debugging info */ comments
which had drifted away from the code they were commenting.
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r-- | gtk/gtkwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 474164dc82..ab7a9fd628 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -4026,12 +4026,12 @@ gtk_widget_get_direction (GtkWidget *widget) * %GTK_TEXT_DIR_NONE. * * Set the default reading direction for widgets where the - * direction has not been explicitely set by gtk_widget_set_direction(). + * direction has not been explicitly set by gtk_widget_set_direction(). **/ void gtk_widget_set_default_direction (GtkTextDirection dir) { - g_return_if_fail (dir == GTK_TEXT_DIR_RTL || GTK_TEXT_DIR_LTR); + g_return_if_fail (dir == GTK_TEXT_DIR_RTL || dir == GTK_TEXT_DIR_LTR); gtk_default_direction = dir; } |