[libhandy] window-mixin: Fix gtk_style_context_get_state() argument
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] window-mixin: Fix gtk_style_context_get_state() argument
- Date: Mon, 24 Aug 2020 17:00:07 +0000 (UTC)
commit 7afedcf268073cf6a94ef48239fa42acadc6d0f5
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Aug 14 17:55:01 2020 +0500
window-mixin: Fix gtk_style_context_get_state() argument
Well, there's that.
Fixes https://gitlab.gnome.org/GNOME/libhandy/-/issues/325
Signed-off-by: Alexander Mikhaylenko <alexm gnome org>
src/hdy-window-mixin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/hdy-window-mixin.c b/src/hdy-window-mixin.c
index d55536cb..d240202a 100644
--- a/src/hdy-window-mixin.c
+++ b/src/hdy-window-mixin.c
@@ -371,7 +371,7 @@ hdy_window_mixin_draw (HdyWindowMixin *self,
h = height - shadow.top - shadow.bottom;
gtk_style_context_get (context,
- gtk_style_context_get_state (self->decoration_context),
+ gtk_style_context_get_state (context),
GTK_STYLE_PROPERTY_BORDER_RADIUS, &r,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]