summaryrefslogtreecommitdiff
path: root/backends/pulse
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-10-29 11:24:41 +0100
committerlukefromdc <[email protected]>2019-11-01 23:31:49 +0000
commit13b9341a115751b518d1d106820624f8b17ecee2 (patch)
tree4596cfba3c1023f25d4017607039139ab5e69c95 /backends/pulse
parenta2b696a815934bc36af8b67bfd7cbd1550bae5eb (diff)
downloadlibmatemixer-13b9341a115751b518d1d106820624f8b17ecee2.tar.bz2
libmatemixer-13b9341a115751b518d1d106820624f8b17ecee2.tar.xz
avoid redundant redeclarations
Diffstat (limited to 'backends/pulse')
-rw-r--r--backends/pulse/pulse-backend.c4
-rw-r--r--backends/pulse/pulse-connection.c3
-rw-r--r--backends/pulse/pulse-device-profile.c3
-rw-r--r--backends/pulse/pulse-device-switch.c2
-rw-r--r--backends/pulse/pulse-device.c3
-rw-r--r--backends/pulse/pulse-ext-stream.c3
-rw-r--r--backends/pulse/pulse-monitor.c3
-rw-r--r--backends/pulse/pulse-port-switch.c2
-rw-r--r--backends/pulse/pulse-port.c3
-rw-r--r--backends/pulse/pulse-sink-control.c3
-rw-r--r--backends/pulse/pulse-sink-input.c3
-rw-r--r--backends/pulse/pulse-sink-switch.c3
-rw-r--r--backends/pulse/pulse-sink.c2
-rw-r--r--backends/pulse/pulse-source-control.c3
-rw-r--r--backends/pulse/pulse-source-output.c3
-rw-r--r--backends/pulse/pulse-source-switch.c3
-rw-r--r--backends/pulse/pulse-source.c2
-rw-r--r--backends/pulse/pulse-stream-control.c3
-rw-r--r--backends/pulse/pulse-stream.c3
19 files changed, 0 insertions, 54 deletions
diff --git a/backends/pulse/pulse-backend.c b/backends/pulse/pulse-backend.c
index 854d414..34195f7 100644
--- a/backends/pulse/pulse-backend.c
+++ b/backends/pulse/pulse-backend.c
@@ -114,10 +114,6 @@ struct _PulseBackendPrivate
(g_object_steal_data (G_OBJECT (o), \
"__matemixer_pulse_hanging"))
-static void pulse_backend_class_init (PulseBackendClass *klass);
-static void pulse_backend_class_finalize (PulseBackendClass *klass);
-
-static void pulse_backend_init (PulseBackend *pulse);
static void pulse_backend_dispose (GObject *object);
static void pulse_backend_finalize (GObject *object);
diff --git a/backends/pulse/pulse-connection.c b/backends/pulse/pulse-connection.c
index c6fc7b0..0b429ef 100644
--- a/backends/pulse/pulse-connection.c
+++ b/backends/pulse/pulse-connection.c
@@ -70,8 +70,6 @@ enum {
static guint signals[N_SIGNALS] = { 0, };
-static void pulse_connection_class_init (PulseConnectionClass *klass);
-
static void pulse_connection_get_property (GObject *object,
guint param_id,
GValue *value,
@@ -81,7 +79,6 @@ static void pulse_connection_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec);
-static void pulse_connection_init (PulseConnection *connection);
static void pulse_connection_finalize (GObject *object);
G_DEFINE_TYPE_WITH_PRIVATE (PulseConnection, pulse_connection, G_TYPE_OBJECT);
diff --git a/backends/pulse/pulse-device-profile.c b/backends/pulse/pulse-device-profile.c
index 0b00aba..a2cfbca 100644
--- a/backends/pulse/pulse-device-profile.c
+++ b/backends/pulse/pulse-device-profile.c
@@ -33,9 +33,6 @@ struct _PulseDeviceProfilePrivate
guint priority;
};
-static void pulse_device_profile_class_init (PulseDeviceProfileClass *klass);
-static void pulse_device_profile_init (PulseDeviceProfile *profile);
-
G_DEFINE_TYPE_WITH_PRIVATE (PulseDeviceProfile, pulse_device_profile, MATE_MIXER_TYPE_SWITCH_OPTION)
static void
diff --git a/backends/pulse/pulse-device-switch.c b/backends/pulse/pulse-device-switch.c
index ea0f6fd..5e82e1f 100644
--- a/backends/pulse/pulse-device-switch.c
+++ b/backends/pulse/pulse-device-switch.c
@@ -32,8 +32,6 @@ struct _PulseDeviceSwitchPrivate
GList *profiles;
};
-static void pulse_device_switch_class_init (PulseDeviceSwitchClass *klass);
-static void pulse_device_switch_init (PulseDeviceSwitch *swtch);
static void pulse_device_switch_dispose (GObject *object);
G_DEFINE_TYPE_WITH_PRIVATE (PulseDeviceSwitch, pulse_device_switch, MATE_MIXER_TYPE_DEVICE_SWITCH)
diff --git a/backends/pulse/pulse-device.c b/backends/pulse/pulse-device.c
index 940d3e9..0f11949 100644
--- a/backends/pulse/pulse-device.c
+++ b/backends/pulse/pulse-device.c
@@ -52,8 +52,6 @@ enum {
static GParamSpec *properties[N_PROPERTIES] = { NULL, };
-static void pulse_device_class_init (PulseDeviceClass *klass);
-
static void pulse_device_get_property (GObject *object,
guint param_id,
GValue *value,
@@ -63,7 +61,6 @@ static void pulse_device_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec);
-static void pulse_device_init (PulseDevice *device);
static void pulse_device_dispose (GObject *object);
static void pulse_device_finalize (GObject *object);
diff --git a/backends/pulse/pulse-ext-stream.c b/backends/pulse/pulse-ext-stream.c
index ab7d982..39f8f1e 100644
--- a/backends/pulse/pulse-ext-stream.c
+++ b/backends/pulse/pulse-ext-stream.c
@@ -49,8 +49,6 @@ enum {
static GParamSpec *properties[N_PROPERTIES] = { NULL, };
-static void pulse_ext_stream_class_init (PulseExtStreamClass *klass);
-
static void pulse_ext_stream_get_property (GObject *object,
guint param_id,
GValue *value,
@@ -60,7 +58,6 @@ static void pulse_ext_stream_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec);
-static void pulse_ext_stream_init (PulseExtStream *ext);
static void pulse_ext_stream_dispose (GObject *object);
static void pulse_ext_stream_finalize (GObject *object);
diff --git a/backends/pulse/pulse-monitor.c b/backends/pulse/pulse-monitor.c
index 585e5e8..8474078 100644
--- a/backends/pulse/pulse-monitor.c
+++ b/backends/pulse/pulse-monitor.c
@@ -50,8 +50,6 @@ enum {
static guint signals[N_SIGNALS] = { 0, };
-static void pulse_monitor_class_init (PulseMonitorClass *klass);
-
static void pulse_monitor_get_property (GObject *object,
guint param_id,
GValue *value,
@@ -61,7 +59,6 @@ static void pulse_monitor_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec);
-static void pulse_monitor_init (PulseMonitor *monitor);
static void pulse_monitor_finalize (GObject *object);
G_DEFINE_TYPE_WITH_PRIVATE (PulseMonitor, pulse_monitor, G_TYPE_OBJECT);
diff --git a/backends/pulse/pulse-port-switch.c b/backends/pulse/pulse-port-switch.c
index 7d90911..46871a0 100644
--- a/backends/pulse/pulse-port-switch.c
+++ b/backends/pulse/pulse-port-switch.c
@@ -32,8 +32,6 @@ struct _PulsePortSwitchPrivate
GList *ports;
};
-static void pulse_port_switch_class_init (PulsePortSwitchClass *klass);
-static void pulse_port_switch_init (PulsePortSwitch *swtch);
static void pulse_port_switch_dispose (GObject *object);
G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (PulsePortSwitch, pulse_port_switch, MATE_MIXER_TYPE_STREAM_SWITCH)
diff --git a/backends/pulse/pulse-port.c b/backends/pulse/pulse-port.c
index 23faafa..1c2de21 100644
--- a/backends/pulse/pulse-port.c
+++ b/backends/pulse/pulse-port.c
@@ -32,9 +32,6 @@ struct _PulsePortPrivate
guint priority;
};
-static void pulse_port_class_init (PulsePortClass *klass);
-static void pulse_port_init (PulsePort *port);
-
G_DEFINE_TYPE_WITH_PRIVATE (PulsePort, pulse_port, MATE_MIXER_TYPE_SWITCH_OPTION)
static void
diff --git a/backends/pulse/pulse-sink-control.c b/backends/pulse/pulse-sink-control.c
index c3fffb1..674e09f 100644
--- a/backends/pulse/pulse-sink-control.c
+++ b/backends/pulse/pulse-sink-control.c
@@ -28,9 +28,6 @@
#include "pulse-sink.h"
#include "pulse-sink-control.h"
-static void pulse_sink_control_class_init (PulseSinkControlClass *klass);
-static void pulse_sink_control_init (PulseSinkControl *control);
-
G_DEFINE_TYPE (PulseSinkControl, pulse_sink_control, PULSE_TYPE_STREAM_CONTROL);
static gboolean pulse_sink_control_set_mute (PulseStreamControl *psc,
diff --git a/backends/pulse/pulse-sink-input.c b/backends/pulse/pulse-sink-input.c
index 16637c8..c37502f 100644
--- a/backends/pulse/pulse-sink-input.c
+++ b/backends/pulse/pulse-sink-input.c
@@ -30,9 +30,6 @@
#include "pulse-stream.h"
#include "pulse-stream-control.h"
-static void pulse_sink_input_class_init (PulseSinkInputClass *klass);
-static void pulse_sink_input_init (PulseSinkInput *input);
-
G_DEFINE_TYPE (PulseSinkInput, pulse_sink_input, PULSE_TYPE_STREAM_CONTROL);
static guint pulse_sink_input_get_max_volume (MateMixerStreamControl *mmsc);
diff --git a/backends/pulse/pulse-sink-switch.c b/backends/pulse/pulse-sink-switch.c
index 74c182f..628246b 100644
--- a/backends/pulse/pulse-sink-switch.c
+++ b/backends/pulse/pulse-sink-switch.c
@@ -28,9 +28,6 @@
#include "pulse-sink-switch.h"
#include "pulse-stream.h"
-static void pulse_sink_switch_class_init (PulseSinkSwitchClass *klass);
-static void pulse_sink_switch_init (PulseSinkSwitch *swtch);
-
G_DEFINE_TYPE (PulseSinkSwitch, pulse_sink_switch, PULSE_TYPE_PORT_SWITCH)
static gboolean pulse_sink_switch_set_active_port (PulsePortSwitch *swtch,
diff --git a/backends/pulse/pulse-sink.c b/backends/pulse/pulse-sink.c
index bcfb330..c882aa0 100644
--- a/backends/pulse/pulse-sink.c
+++ b/backends/pulse/pulse-sink.c
@@ -44,8 +44,6 @@ struct _PulseSinkPrivate
PulseSinkControl *control;
};
-static void pulse_sink_class_init (PulseSinkClass *klass);
-static void pulse_sink_init (PulseSink *sink);
static void pulse_sink_dispose (GObject *object);
static void pulse_sink_finalize (GObject *object);
diff --git a/backends/pulse/pulse-source-control.c b/backends/pulse/pulse-source-control.c
index 2597c70..57c0b21 100644
--- a/backends/pulse/pulse-source-control.c
+++ b/backends/pulse/pulse-source-control.c
@@ -28,9 +28,6 @@
#include "pulse-source.h"
#include "pulse-source-control.h"
-static void pulse_source_control_class_init (PulseSourceControlClass *klass);
-static void pulse_source_control_init (PulseSourceControl *control);
-
G_DEFINE_TYPE (PulseSourceControl, pulse_source_control, PULSE_TYPE_STREAM_CONTROL);
static gboolean pulse_source_control_set_mute (PulseStreamControl *psc,
diff --git a/backends/pulse/pulse-source-output.c b/backends/pulse/pulse-source-output.c
index b3552d5..1f5aa1c 100644
--- a/backends/pulse/pulse-source-output.c
+++ b/backends/pulse/pulse-source-output.c
@@ -30,9 +30,6 @@
#include "pulse-stream.h"
#include "pulse-stream-control.h"
-static void pulse_source_output_class_init (PulseSourceOutputClass *klass);
-static void pulse_source_output_init (PulseSourceOutput *output);
-
G_DEFINE_TYPE (PulseSourceOutput, pulse_source_output, PULSE_TYPE_STREAM_CONTROL);
static guint pulse_source_output_get_max_volume (MateMixerStreamControl *mmsc);
diff --git a/backends/pulse/pulse-source-switch.c b/backends/pulse/pulse-source-switch.c
index 76f97f0..2514597 100644
--- a/backends/pulse/pulse-source-switch.c
+++ b/backends/pulse/pulse-source-switch.c
@@ -28,9 +28,6 @@
#include "pulse-source-switch.h"
#include "pulse-stream.h"
-static void pulse_source_switch_class_init (PulseSourceSwitchClass *klass);
-static void pulse_source_switch_init (PulseSourceSwitch *swtch);
-
G_DEFINE_TYPE (PulseSourceSwitch, pulse_source_switch, PULSE_TYPE_PORT_SWITCH)
static gboolean pulse_source_switch_set_active_port (PulsePortSwitch *swtch,
diff --git a/backends/pulse/pulse-source.c b/backends/pulse/pulse-source.c
index b834a2f..4275f9a 100644
--- a/backends/pulse/pulse-source.c
+++ b/backends/pulse/pulse-source.c
@@ -43,8 +43,6 @@ struct _PulseSourcePrivate
PulseSourceControl *control;
};
-static void pulse_source_class_init (PulseSourceClass *klass);
-static void pulse_source_init (PulseSource *source);
static void pulse_source_dispose (GObject *object);
static void pulse_source_finalize (GObject *object);
diff --git a/backends/pulse/pulse-stream-control.c b/backends/pulse/pulse-stream-control.c
index f65505f..f0625f3 100644
--- a/backends/pulse/pulse-stream-control.c
+++ b/backends/pulse/pulse-stream-control.c
@@ -49,8 +49,6 @@ enum {
static GParamSpec *properties[N_PROPERTIES] = { NULL, };
-static void pulse_stream_control_class_init (PulseStreamControlClass *klass);
-
static void pulse_stream_control_get_property (GObject *object,
guint param_id,
GValue *value,
@@ -60,7 +58,6 @@ static void pulse_stream_control_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec);
-static void pulse_stream_control_init (PulseStreamControl *control);
static void pulse_stream_control_dispose (GObject *object);
static void pulse_stream_control_finalize (GObject *object);
diff --git a/backends/pulse/pulse-stream.c b/backends/pulse/pulse-stream.c
index fa795ee..d3b33c3 100644
--- a/backends/pulse/pulse-stream.c
+++ b/backends/pulse/pulse-stream.c
@@ -44,8 +44,6 @@ enum {
static GParamSpec *properties[N_PROPERTIES] = { NULL, };
-static void pulse_stream_class_init (PulseStreamClass *klass);
-
static void pulse_stream_get_property (GObject *object,
guint param_id,
GValue *value,
@@ -55,7 +53,6 @@ static void pulse_stream_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec);
-static void pulse_stream_init (PulseStream *stream);
static void pulse_stream_dispose (GObject *object);
G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (PulseStream, pulse_stream, MATE_MIXER_TYPE_STREAM)