mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
Revert commit that was accidentally made. Sorry.
svn path=/trunk/; revision=18596
This commit is contained in:
parent
398a61e43d
commit
69cce50cd0
@ -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):
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user