[gnome-shell] st: Fix property type
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st: Fix property type
- Date: Thu, 1 Aug 2019 14:58:33 +0000 (UTC)
commit 5295866eff4829e8aa90f75eed5415839e351f11
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Aug 1 12:43:48 2019 +0200
st: Fix property type
Commit 8f3554ff accidentally changed the type of the StWidget:track-hover
property from boolean to object.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1482
src/st/st-widget.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index 7aff6e50c..5fa676dca 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -927,11 +927,11 @@ st_widget_class_init (StWidgetClass *klass)
* widget.
*/
props[PROP_TRACK_HOVER] =
- g_param_spec_object ("track-hover",
- "Track hover",
- "Determines whether the widget tracks hover state",
- FALSE,
- ST_PARAM_READWRITE);
+ g_param_spec_boolean ("track-hover",
+ "Track hover",
+ "Determines whether the widget tracks hover state",
+ FALSE,
+ ST_PARAM_READWRITE);
/**
* StWidget:hover:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]