[sysprof] libsysprof-ui: fix value usage



commit 6e7ef3d52d48fc95e5c1ce5c7c6e54aa7372f23d
Author: Christian Hergert <chergert redhat com>
Date:   Sun May 19 21:59:27 2019 -0700

    libsysprof-ui: fix value usage

 src/libsysprof-ui/sysprof-aid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof-ui/sysprof-aid.c b/src/libsysprof-ui/sysprof-aid.c
index 92dc69a..8171eb3 100644
--- a/src/libsysprof-ui/sysprof-aid.c
+++ b/src/libsysprof-ui/sysprof-aid.c
@@ -88,7 +88,7 @@ sysprof_aid_set_property (GObject      *object,
   switch (prop_id)
     {
     case PROP_DISPLAY_NAME:
-      sysprof_aid_set_display_name (self, g_value_get_object (value));
+      sysprof_aid_set_display_name (self, g_value_get_string (value));
       break;
 
     case PROP_ICON:


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