summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audio.c2
-rw-r--r--src/endpoint.c6
-rw-r--r--src/meson.build2
-rw-r--r--src/wireplumber.c7
4 files changed, 4 insertions, 13 deletions
diff --git a/src/audio.c b/src/audio.c
index 3782b2e..53224a7 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -3,7 +3,7 @@
#include <wp/wp.h>
#include "endpoint.h"
-#include "wireplumber.h"
+#include "wp.h"
struct _AstalWpAudio {
GObject parent_instance;
diff --git a/src/endpoint.c b/src/endpoint.c
index 77b3104..7d7a275 100644
--- a/src/endpoint.c
+++ b/src/endpoint.c
@@ -1,12 +1,6 @@
-#include "endpoint.h"
-
-#include <limits.h>
#include <wp/wp.h>
#include "endpoint-private.h"
-#include "glib-object.h"
-#include "glib.h"
-#include "glibconfig.h"
#include "wp.h"
struct _AstalWpEndpoint {
diff --git a/src/meson.build b/src/meson.build
index 63415c4..ae56c6f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -46,7 +46,7 @@ if get_option('introspection')
symbol_prefix : 'astal_wp',
identifier_prefix : 'AstalWp',
includes : ['GObject-2.0', 'Gio-2.0'],
- header : 'astal/wireplumber.h',
+ header : 'astal-wp.h',
export_packages : pkg_config_name,
install : true
)
diff --git a/src/wireplumber.c b/src/wireplumber.c
index 41ba36c..6bf712a 100644
--- a/src/wireplumber.c
+++ b/src/wireplumber.c
@@ -2,9 +2,6 @@
#include "audio.h"
#include "endpoint-private.h"
-#include "endpoint.h"
-#include "glib-object.h"
-#include "glib.h"
#include "wp.h"
struct _AstalWpWp {
@@ -315,7 +312,7 @@ static void astal_wp_wp_class_init(AstalWpWpClass *class) {
astal_wp_wp_properties[ASTAL_WP_WP_PROP_ENDPOINTS] =
g_param_spec_pointer("endpoints", "endpoints", "endpoints", G_PARAM_READABLE);
/**
- * AstalWpAudio:default-speaker:
+ * AstalWpWp:default-speaker:
*
* The AstalWndpoint object representing the default speaker
*/
@@ -323,7 +320,7 @@ static void astal_wp_wp_class_init(AstalWpWpClass *class) {
g_param_spec_object("default-speaker", "default-speaker", "default-speaker",
ASTAL_WP_TYPE_ENDPOINT, G_PARAM_READABLE);
/**
- * AstalWpAudio:default-microphone:
+ * AstalWpWp:default-microphone:
*
* The AstalWndpoint object representing the default speaker
*/