diff options
author | Benjamin Otte <otte@redhat.com> | 2015-09-13 16:00:22 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-10-03 22:26:27 -0400 |
commit | 2dad7c131958c2f8e547f6181b491e90e11ce214 (patch) | |
tree | a1f230ead5ebeeecd3214b773387eefa70404e69 /gdk/gdkrectangle.h | |
parent | 5a561a8ddb9bf71f09dfe32f140677e17117465d (diff) | |
download | gtk+-2dad7c131958c2f8e547f6181b491e90e11ce214.tar.gz |
gdk: Add gdk_rectangle_equal()
There's enough users inside GTK to warrant this convenience function.
Diffstat (limited to 'gdk/gdkrectangle.h')
-rw-r--r-- | gdk/gdkrectangle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkrectangle.h b/gdk/gdkrectangle.h index e098ea970f..7c0252ff0b 100644 --- a/gdk/gdkrectangle.h +++ b/gdk/gdkrectangle.h @@ -45,6 +45,10 @@ void gdk_rectangle_union (const GdkRectangle *src1, const GdkRectangle *src2, GdkRectangle *dest); +GDK_AVAILABLE_IN_3_20 +gboolean gdk_rectangle_equal (const GdkRectangle *rect1, + const GdkRectangle *rect2); + GDK_AVAILABLE_IN_ALL GType gdk_rectangle_get_type (void) G_GNUC_CONST; |