[libdazzle] widgets: fix progress menu button usage of gvalue
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] widgets: fix progress menu button usage of gvalue
- Date: Tue, 5 Feb 2019 06:11:45 +0000 (UTC)
commit cc19c1c61751272b17b8aebb3d857c1626003c12
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 4 22:11:23 2019 -0800
widgets: fix progress menu button usage of gvalue
src/widgets/dzl-progress-menu-button.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/widgets/dzl-progress-menu-button.c b/src/widgets/dzl-progress-menu-button.c
index a3b81b6..165bde1 100644
--- a/src/widgets/dzl-progress-menu-button.c
+++ b/src/widgets/dzl-progress-menu-button.c
@@ -244,7 +244,7 @@ dzl_progress_menu_button_set_property (GObject *object,
break;
case PROP_SHOW_THEATRIC:
- dzl_progress_menu_button_set_show_theatric (self, g_value_get_double (value));
+ dzl_progress_menu_button_set_show_theatric (self, g_value_get_boolean (value));
break;
case PROP_THEATRIC_ICON_NAME:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]