[kdbus] Do not set body message if signature field is empty
[platform/upstream/glib.git] / gobject / gvalue.h
index 5ff485f..fd924f6 100644 (file)
@@ -137,6 +137,9 @@ void            g_value_unset       (GValue       *value);
 GLIB_AVAILABLE_IN_ALL
 void           g_value_set_instance    (GValue       *value,
                                         gpointer      instance);
+GLIB_AVAILABLE_IN_2_42
+void            g_value_init_from_instance   (GValue       *value,
+                                              gpointer      instance);
 
 
 /* --- private --- */
@@ -173,10 +176,9 @@ void       g_value_register_transform_func (GType           src_type,
 /**
  * G_VALUE_INIT:
  *
- * A #GValue must be initialized before it can be used.
- * This macro can be used as initializer instead of an explicit
- * <literal>{ 0 }</literal> when declaring a variable,
- * but it cannot be assigned to a variable.
+ * A #GValue must be initialized before it can be used. This macro can
+ * be used as initializer instead of an explicit `{ 0 }` when declaring
+ * a variable, but it cannot be assigned to a variable.
  *
  * |[
  *   GValue value = G_VALUE_INIT;