[gtk+/gtk-3-14] roundedbox: Fix a copy/paste error
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] roundedbox: Fix a copy/paste error
- Date: Sun, 29 Mar 2015 23:14:46 +0000 (UTC)
commit 307d54ba7b46194d30c595993a816c0157a2ffaa
Author: Benjamin Otte <otte redhat com>
Date: Sun Mar 29 22:16:14 2015 +0200
roundedbox: Fix a copy/paste error
This caused shadows to not be drawn in certain situations when overlayed
via a popover animation.
https://bugzilla.gnome.org/show_bug.cgi?id=746862
gtk/gtkroundedbox.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkroundedbox.c b/gtk/gtkroundedbox.c
index 2b5ac21..ec01365 100644
--- a/gtk/gtkroundedbox.c
+++ b/gtk/gtkroundedbox.c
@@ -562,7 +562,7 @@ _gtk_rounded_box_contains_rectangle (const GtkRoundedBox *box,
if (x1 < box->box.x ||
y1 < box->box.y ||
x2 >= box->box.x + box->box.width ||
- y2 >= box->box.y + box->box.width)
+ y2 >= box->box.y + box->box.height)
return FALSE;
if (x1 < box->box.x + box->corner[GTK_CSS_TOP_LEFT].horizontal &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]