[gtk/wip/otte/paintable: 13/15] xxx: paintable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/paintable: 13/15] xxx: paintable
- Date: Sat, 17 Feb 2018 06:52:14 +0000 (UTC)
commit 68e79436790c33a66ac850d6172d6e7d9f0fe49b
Author: Benjamin Otte <otte redhat com>
Date: Sat Feb 17 07:14:32 2018 +0100
xxx: paintable
gdk/gdkpaintable.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkpaintable.c b/gdk/gdkpaintable.c
index 64c732f7a9..f18ab2c86d 100644
--- a/gdk/gdkpaintable.c
+++ b/gdk/gdkpaintable.c
@@ -360,7 +360,7 @@ void
gdk_paintable_invalidate_contents (GdkPaintable *paintable)
{
g_return_if_fail (GDK_IS_PAINTABLE (paintable));
- g_return_if_fail (gdk_paintable_get_flags (paintable) & GDK_PAINTABLE_STATIC_CONTENTS);
+ g_return_if_fail (!(gdk_paintable_get_flags (paintable) & GDK_PAINTABLE_STATIC_CONTENTS));
g_signal_emit (paintable, signals[INVALIDATE_CONTENTS], 0);
}
@@ -382,7 +382,7 @@ void
gdk_paintable_invalidate_size (GdkPaintable *paintable)
{
g_return_if_fail (GDK_IS_PAINTABLE (paintable));
- g_return_if_fail (gdk_paintable_get_flags (paintable) & GDK_PAINTABLE_STATIC_SIZE);
+ g_return_if_fail (!(gdk_paintable_get_flags (paintable) & GDK_PAINTABLE_STATIC_SIZE));
g_signal_emit (paintable, signals[INVALIDATE_SIZE], 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]