From: Jasper St. Pierre Date: Thu, 21 Jul 2011 19:13:44 +0000 (-0400) Subject: soup-session.c: mark helper property API as (skip) to not collide with bindings X-Git-Tag: LIBSOUP_2_35_4~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48da81884eb7ce926eb34b8ba337ab099f5a59bc;p=platform%2Fupstream%2Flibsoup.git soup-session.c: mark helper property API as (skip) to not collide with bindings 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 --- diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c index 78044bd..7e68689 100644 --- a/libsoup/soup-session.c +++ b/libsoup/soup-session.c @@ -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