[libdazzle] properties-group: fix mismatch of state and param types
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] properties-group: fix mismatch of state and param types
- Date: Fri, 7 Jul 2017 09:15:52 +0000 (UTC)
commit 4ba61731b5ab73953fe4fdfa88942fa209fb399e
Author: Christian Hergert <chergert redhat com>
Date: Fri Jul 7 02:15:36 2017 -0700
properties-group: fix mismatch of state and param types
src/actions/dzl-properties-group.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/actions/dzl-properties-group.c b/src/actions/dzl-properties-group.c
index 9cb26c2..a7e8f0e 100644
--- a/src/actions/dzl-properties-group.c
+++ b/src/actions/dzl-properties-group.c
@@ -670,8 +670,8 @@ dzl_properties_group_add_property (DzlPropertiesGroup *self,
}
mapping.action_name = g_intern_string (name);
- mapping.param_type = get_state_type_for_type (pspec->value_type);
- mapping.state_type = get_param_type_for_type (pspec->value_type);
+ mapping.param_type = get_param_type_for_type (pspec->value_type);
+ mapping.state_type = get_state_type_for_type (pspec->value_type);
mapping.property_name = pspec->name;
mapping.property_type = pspec->value_type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]