diff --git a/lib/wp/session-item.c b/lib/wp/session-item.c index 623de04829c1121676c5ce0e12eb9ac0504e1f64..cfe5291018889eaedda2e416d3e6f5fb75317b7a 100644 --- a/lib/wp/session-item.c +++ b/lib/wp/session-item.c @@ -180,35 +180,6 @@ wp_session_item_clear_flag (WpSessionItem * self, WpSiFlags flag) } } -/** - * wp_session_item_get_config_spec: (virtual get_config_spec) - * @self: the session item - * - * Constructs and returns a description of all the configuration options - * that this item has. Configuration options are a way for items to accept - * input from external sources that affects their behavior, or to provide - * output for other items to consume as their configuration. - * - * The returned GVariant has the a(ssymv) type. This is an array of tuples, - * where each tuple has the following values, in order: - * * s (string): the name of the option - * * s (string): a GVariant type string, describing the type of the data - * * y (byte): a combination of #WpSiConfigOptionFlags - * * mv (optional variant): optionally, an additional variant - * This is provided to allow extensions. - * - * Returns: (transfer floating): the configuration description - */ -GVariant * -wp_session_item_get_config_spec (WpSessionItem * self) -{ - g_return_val_if_fail (WP_IS_SESSION_ITEM (self), NULL); - g_return_val_if_fail (WP_SESSION_ITEM_GET_CLASS (self)->get_config_spec, - NULL); - - return WP_SESSION_ITEM_GET_CLASS (self)->get_config_spec (self); -} - /** * wp_session_item_configure: (virtual configure) * @self: the session item diff --git a/lib/wp/session-item.h b/lib/wp/session-item.h index e7da76df119ed5311be5389a78f034f8d8ce21e3..9cf24d15eef00409bdaebb0038e39823b1227393 100644 --- a/lib/wp/session-item.h +++ b/lib/wp/session-item.h @@ -63,7 +63,6 @@ typedef enum { /** * WpSessionItemClass: - * @get_config_spec: See wp_session_item_get_config_spec() * @configure: See wp_session_item_configure() * @get_configuration: See wp_session_item_get_configuration() * @get_next_step: Implements #WpTransitionClass.get_next_step() for the @@ -76,7 +75,6 @@ struct _WpSessionItemClass { GObjectClass parent_class; - GVariant * (*get_config_spec) (WpSessionItem * self); gboolean (*configure) (WpSessionItem * self, GVariant * args); GVariant * (*get_configuration) (WpSessionItem * self); @@ -104,9 +102,6 @@ void wp_session_item_clear_flag (WpSessionItem * self, WpSiFlags flag); /* configuration */ -WP_API -GVariant * wp_session_item_get_config_spec (WpSessionItem * self); - WP_API gboolean wp_session_item_configure (WpSessionItem * self, GVariant * args);