Revert commit that was accidentally made. Sorry.

svn path=/trunk/; revision=18596
This commit is contained in:
Behdad Esfahbod 2007-08-08 22:30:26 +00:00
parent 398a61e43d
commit 69cce50cd0
2 changed files with 8 additions and 6 deletions

View File

@ -1,8 +1,3 @@
2007-08-08 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkwindow.c (gdk_window_invalidate_region): Use gtk_true
instead of rolling a new one. Patch from Xan Lopez.
2007-08-08 Mikael Hallendal <micke@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_class_init):

View File

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