[glib] gobject: Mark g_object_new_with_properties as non-introspectable



commit a9ad793506afa2704b31dc0d8701bada20a699f5
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date:   Tue Apr 10 00:00:00 2018 +0000

    gobject: Mark g_object_new_with_properties as non-introspectable
    
    There is no transfer annotation that can express transfer semantics of
    g_object_new_with_properties in general. When GInitiallyUnowned object
    is constructed the introspection data will be incorrect.
    
    Mark it with skip annotation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795025

 gobject/gobject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 6d56ed40f..cef98b7f7 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -1905,7 +1905,7 @@ g_object_new_is_valid_property (GType                  object_type,
 
 
 /**
- * g_object_new_with_properties: (rename-to g_object_new)
+ * g_object_new_with_properties: (skip)
  * @object_type: the object type to instantiate
  * @n_properties: the number of properties
  * @names: (array length=n_properties): the names of each property to be set


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