Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wireplumber
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
wireplumber
Commits
37d3c56d
Commit
37d3c56d
authored
5 years ago
by
George Kiagiadakis
Browse files
Options
Downloads
Patches
Plain Diff
session-item: remove get_config_spec, in favor of using WpSiFactory
parent
0c455a0c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/wp/session-item.c
+0
-29
0 additions, 29 deletions
lib/wp/session-item.c
lib/wp/session-item.h
+0
-5
0 additions, 5 deletions
lib/wp/session-item.h
with
0 additions
and
34 deletions
lib/wp/session-item.c
+
0
−
29
View file @
37d3c56d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
lib/wp/session-item.h
+
0
−
5
View file @
37d3c56d
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment