[libdazzle] properties-group: use int32 for G_TYPE_INT



commit 84a874f30b8936171ad053b3d1c0d845a25522ec
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 7 18:48:23 2017 -0700

    properties-group: use int32 for G_TYPE_INT
    
    This was just a typo, should be int32.

 src/actions/dzl-properties-group.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/actions/dzl-properties-group.c b/src/actions/dzl-properties-group.c
index 1ccd9b6..e267cf1 100644
--- a/src/actions/dzl-properties-group.c
+++ b/src/actions/dzl-properties-group.c
@@ -108,7 +108,7 @@ get_action_state (GObject       *object,
   switch (mapping->property_type)
     {
     case G_TYPE_INT:
-      ret = g_variant_new_boolean (g_value_get_int (&value));
+      ret = g_variant_new_int32 (g_value_get_int (&value));
       break;
 
     case G_TYPE_UINT:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]