projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f93a51
)
popover: Fix typo
author
Benjamin Otte
<otte@redhat.com>
Sat, 25 Mar 2023 23:43:58 +0000
(
00:43
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Mar 2023 00:02:17 +0000
(
01:02
+0100)
The typo causs gnome-shell to crah, which is somewhat suboptimal.
It was introduced in
1a9c7a4b1fb
.
gtk/gtkpopover.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpopover.c
b/gtk/gtkpopover.c
index ff2e12cd8746f65eef452be441b1ea16411a4610..9aafd1e69886432fec6f22f69a6edacc69eab1e1 100644
(file)
--- a/
gtk/gtkpopover.c
+++ b/
gtk/gtkpopover.c
@@
-468,7
+468,7
@@
compute_surface_pointing_to (GtkPopover *popover,
rect->x = (int) floor (bounds.origin.x + nx);
rect->y = (int) floor (bounds.origin.y + ny);
rect->width = (int) ceilf (bounds.size.width);
- rect->
width
= (int) ceilf (bounds.size.height);
+ rect->
height
= (int) ceilf (bounds.size.height);
}
static GdkPopupLayout *