summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@src.gnome.org>2007-08-08 22:30:26 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-08-08 22:30:26 +0000
commit69cce50cd0e26413b9410b6eff234060f39faab3 (patch)
tree9b5bd152cdceee5c73e18ed21e4acad2b90c74e3 /gdk
parent398a61e43d45d2432d45f8dcea622b1eb58a727a (diff)
downloadgtk+-69cce50cd0e26413b9410b6eff234060f39faab3.tar.gz
Revert commit that was accidentally made. Sorry.
svn path=/trunk/; revision=18596
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkwindow.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 15be598600..2028693cb0 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2674,6 +2674,13 @@ gdk_window_invalidate_maybe_recurse (GdkWindow *window,
gdk_region_destroy (visible_region);
}
+static gboolean
+true_predicate (GdkWindow *window,
+ gpointer user_data)
+{
+ return TRUE;
+}
+
/**
* gdk_window_invalidate_region:
* @window: a #GdkWindow
@@ -2705,7 +2712,7 @@ gdk_window_invalidate_region (GdkWindow *window,
{
gdk_window_invalidate_maybe_recurse (window, region,
invalidate_children ?
- gtk_true : (gboolean (*) (GdkWindow *, gpointer))NULL,
+ true_predicate : (gboolean (*) (GdkWindow *, gpointer))NULL,
NULL);
}