soup-session.c: mark helper property API as (skip) to not collide with bindings
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 21 Jul 2011 19:13:44 +0000 (15:13 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 22 Jul 2011 21:19:55 +0000 (17:19 -0400)
gobject-introspection-bindable interpreters like pygobject and gjs replace "-"s
in property names with "_"s. Given that the property API intentionally uses the
same names as their real methods, this causes a collision. Since the properties
were never intended to be bindable, just mark them as (skip).

https://bugzilla.gnome.org/show_bug.cgi?id=655150

libsoup/soup-session.c

index 78044bd..7e68689 100644 (file)
@@ -659,7 +659,7 @@ soup_session_class_init (SoupSessionClass *session_class)
                                      G_PARAM_READWRITE));
 
        /**
-        * SoupSession:add-feature:
+        * SoupSession:add-feature: (skip)
         *
         * Add a feature object to the session. (Shortcut for calling
         * soup_session_add_feature().)
@@ -667,7 +667,7 @@ soup_session_class_init (SoupSessionClass *session_class)
         * Since: 2.24
         **/
        /**
-        * SOUP_SESSION_ADD_FEATURE:
+        * SOUP_SESSION_ADD_FEATURE: (skip)
         *
         * Alias for the #SoupSession:add-feature property. (Shortcut
         * for calling soup_session_add_feature().
@@ -682,7 +682,7 @@ soup_session_class_init (SoupSessionClass *session_class)
                                     SOUP_TYPE_SESSION_FEATURE,
                                     G_PARAM_READWRITE));
        /**
-        * SoupSession:add-feature-by-type:
+        * SoupSession:add-feature-by-type: (skip)
         *
         * Add a feature object of the given type to the session.
         * (Shortcut for calling soup_session_add_feature_by_type().)
@@ -690,7 +690,7 @@ soup_session_class_init (SoupSessionClass *session_class)
         * Since: 2.24
         **/
        /**
-        * SOUP_SESSION_ADD_FEATURE_BY_TYPE:
+        * SOUP_SESSION_ADD_FEATURE_BY_TYPE: (skip)
         *
         * Alias for the #SoupSession:add-feature-by-type property.
         * (Shortcut for calling soup_session_add_feature_by_type().
@@ -705,7 +705,7 @@ soup_session_class_init (SoupSessionClass *session_class)
                                    SOUP_TYPE_SESSION_FEATURE,
                                    G_PARAM_READWRITE));
        /**
-        * SoupSession:remove-feature-by-type:
+        * SoupSession:remove-feature-by-type: (skip)
         *
         * Remove feature objects from the session. (Shortcut for
         * calling soup_session_remove_feature_by_type().)
@@ -713,7 +713,7 @@ soup_session_class_init (SoupSessionClass *session_class)
         * Since: 2.24
         **/
        /**
-        * SOUP_SESSION_REMOVE_FEATURE_BY_TYPE:
+        * SOUP_SESSION_REMOVE_FEATURE_BY_TYPE: (skip)
         *
         * Alias for the #SoupSession:remove-feature-by-type
         * property. (Shortcut for calling