From 48da81884eb7ce926eb34b8ba337ab099f5a59bc Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 21 Jul 2011 15:13:44 -0400 Subject: [PATCH] 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 --- libsoup/soup-session.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.7.4