summaryrefslogtreecommitdiff
path: root/backends/alsa
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/alsa
parenta2b696a815934bc36af8b67bfd7cbd1550bae5eb (diff)
downloadlibmatemixer-13b9341a115751b518d1d106820624f8b17ecee2.tar.bz2
libmatemixer-13b9341a115751b518d1d106820624f8b17ecee2.tar.xz
avoid redundant redeclarations
Diffstat (limited to 'backends/alsa')
-rw-r--r--backends/alsa/alsa-backend.c3
-rw-r--r--backends/alsa/alsa-device.c2
-rw-r--r--backends/alsa/alsa-stream-control.c3
-rw-r--r--backends/alsa/alsa-stream-input-control.c3
-rw-r--r--backends/alsa/alsa-stream-output-control.c3
-rw-r--r--backends/alsa/alsa-stream.c2
-rw-r--r--backends/alsa/alsa-switch-option.c3
-rw-r--r--backends/alsa/alsa-switch.c2
-rw-r--r--backends/alsa/alsa-toggle.c3
9 files changed, 0 insertions, 24 deletions
diff --git a/backends/alsa/alsa-backend.c b/backends/alsa/alsa-backend.c
index 360d867..db8e0c2 100644
--- a/backends/alsa/alsa-backend.c
+++ b/backends/alsa/alsa-backend.c
@@ -47,9 +47,6 @@ struct _AlsaBackendPrivate
GHashTable *devices_ids;
};
-static void alsa_backend_class_init (AlsaBackendClass *klass);
-static void alsa_backend_class_finalize (AlsaBackendClass *klass);
-static void alsa_backend_init (AlsaBackend *alsa);
static void alsa_backend_dispose (GObject *object);
static void alsa_backend_finalize (GObject *object);
diff --git a/backends/alsa/alsa-device.c b/backends/alsa/alsa-device.c
index 7cb140a..34612b9 100644
--- a/backends/alsa/alsa-device.c
+++ b/backends/alsa/alsa-device.c
@@ -69,8 +69,6 @@ enum {
static guint signals[N_SIGNALS] = { 0, };
-static void alsa_device_class_init (AlsaDeviceClass *klass);
-static void alsa_device_init (AlsaDevice *device);
static void alsa_device_dispose (GObject *object);
static void alsa_device_finalize (GObject *object);
diff --git a/backends/alsa/alsa-stream-control.c b/backends/alsa/alsa-stream-control.c
index e4dab60..f39e9f9 100644
--- a/backends/alsa/alsa-stream-control.c
+++ b/backends/alsa/alsa-stream-control.c
@@ -35,9 +35,6 @@ struct _AlsaStreamControlPrivate
static void alsa_element_interface_init (AlsaElementInterface *iface);
-static void alsa_stream_control_class_init (AlsaStreamControlClass *klass);
-static void alsa_stream_control_init (AlsaStreamControl *control);
-
G_DEFINE_ABSTRACT_TYPE_WITH_CODE (AlsaStreamControl, alsa_stream_control,
MATE_MIXER_TYPE_STREAM_CONTROL,
G_ADD_PRIVATE(AlsaStreamControl)
diff --git a/backends/alsa/alsa-stream-input-control.c b/backends/alsa/alsa-stream-input-control.c
index 5f5e90e..103d2a7 100644
--- a/backends/alsa/alsa-stream-input-control.c
+++ b/backends/alsa/alsa-stream-input-control.c
@@ -29,9 +29,6 @@
#include "alsa-stream-control.h"
#include "alsa-stream-input-control.h"
-static void alsa_stream_input_control_class_init (AlsaStreamInputControlClass *klass);
-static void alsa_stream_input_control_init (AlsaStreamInputControl *control);
-
G_DEFINE_TYPE (AlsaStreamInputControl, alsa_stream_input_control, ALSA_TYPE_STREAM_CONTROL)
static gboolean alsa_stream_input_control_load (AlsaStreamControl *control);
diff --git a/backends/alsa/alsa-stream-output-control.c b/backends/alsa/alsa-stream-output-control.c
index 9d7813d..362a247 100644
--- a/backends/alsa/alsa-stream-output-control.c
+++ b/backends/alsa/alsa-stream-output-control.c
@@ -29,9 +29,6 @@
#include "alsa-stream-control.h"
#include "alsa-stream-output-control.h"
-static void alsa_stream_output_control_class_init (AlsaStreamOutputControlClass *klass);
-static void alsa_stream_output_control_init (AlsaStreamOutputControl *control);
-
G_DEFINE_TYPE (AlsaStreamOutputControl, alsa_stream_output_control, ALSA_TYPE_STREAM_CONTROL)
static gboolean alsa_stream_output_control_load (AlsaStreamControl *control);
diff --git a/backends/alsa/alsa-stream.c b/backends/alsa/alsa-stream.c
index 2cc61a8..b38dacc 100644
--- a/backends/alsa/alsa-stream.c
+++ b/backends/alsa/alsa-stream.c
@@ -33,8 +33,6 @@ struct _AlsaStreamPrivate
GList *controls;
};
-static void alsa_stream_class_init (AlsaStreamClass *klass);
-static void alsa_stream_init (AlsaStream *stream);
static void alsa_stream_dispose (GObject *object);
G_DEFINE_TYPE_WITH_PRIVATE (AlsaStream, alsa_stream, MATE_MIXER_TYPE_STREAM)
diff --git a/backends/alsa/alsa-switch-option.c b/backends/alsa/alsa-switch-option.c
index d73113f..827fdc7 100644
--- a/backends/alsa/alsa-switch-option.c
+++ b/backends/alsa/alsa-switch-option.c
@@ -27,9 +27,6 @@ struct _AlsaSwitchOptionPrivate
guint id;
};
-static void alsa_switch_option_class_init (AlsaSwitchOptionClass *klass);
-static void alsa_switch_option_init (AlsaSwitchOption *option);
-
G_DEFINE_TYPE_WITH_PRIVATE (AlsaSwitchOption, alsa_switch_option, MATE_MIXER_TYPE_SWITCH_OPTION)
static void
diff --git a/backends/alsa/alsa-switch.c b/backends/alsa/alsa-switch.c
index 7711e0d..1f5f92f 100644
--- a/backends/alsa/alsa-switch.c
+++ b/backends/alsa/alsa-switch.c
@@ -36,8 +36,6 @@ struct _AlsaSwitchPrivate
static void alsa_element_interface_init (AlsaElementInterface *iface);
-static void alsa_switch_class_init (AlsaSwitchClass *klass);
-static void alsa_switch_init (AlsaSwitch *swtch);
static void alsa_switch_dispose (GObject *object);
G_DEFINE_TYPE_WITH_CODE (AlsaSwitch, alsa_switch,
diff --git a/backends/alsa/alsa-toggle.c b/backends/alsa/alsa-toggle.c
index ec363dd..d7dd46e 100644
--- a/backends/alsa/alsa-toggle.c
+++ b/backends/alsa/alsa-toggle.c
@@ -36,9 +36,6 @@ struct _AlsaTogglePrivate
static void alsa_element_interface_init (AlsaElementInterface *iface);
-static void alsa_toggle_class_init (AlsaToggleClass *klass);
-static void alsa_toggle_init (AlsaToggle *toggle);
-
G_DEFINE_TYPE_WITH_CODE (AlsaToggle, alsa_toggle, MATE_MIXER_TYPE_STREAM_TOGGLE,
G_ADD_PRIVATE(AlsaToggle)
G_IMPLEMENT_INTERFACE (ALSA_TYPE_ELEMENT,