diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2011-07-21 15:13:44 -0400 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2011-07-22 17:19:55 -0400 |
commit | 48da81884eb7ce926eb34b8ba337ab099f5a59bc (patch) | |
tree | 6df917cb97516132c7c6289ef1e0e8e78efde5b7 | |
parent | d6c9aaac9c6c156391f8ee73e1cae353af9d2bed (diff) | |
download | libsoup-48da81884eb7ce926eb34b8ba337ab099f5a59bc.tar.gz |
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
-rw-r--r-- | libsoup/soup-session.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c index 78044bd7..7e686899 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 |