diff options
author | Pablo Barciela <[email protected]> | 2019-10-29 11:24:41 +0100 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-11-01 23:31:49 +0000 |
commit | 13b9341a115751b518d1d106820624f8b17ecee2 (patch) | |
tree | 4596cfba3c1023f25d4017607039139ab5e69c95 /backends | |
parent | a2b696a815934bc36af8b67bfd7cbd1550bae5eb (diff) | |
download | libmatemixer-13b9341a115751b518d1d106820624f8b17ecee2.tar.bz2 libmatemixer-13b9341a115751b518d1d106820624f8b17ecee2.tar.xz |
avoid redundant redeclarations
Diffstat (limited to 'backends')
29 files changed, 0 insertions, 82 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, diff --git a/backends/null/null-backend.c b/backends/null/null-backend.c index a061428..0a8a36c 100644 --- a/backends/null/null-backend.c +++ b/backends/null/null-backend.c @@ -26,10 +26,6 @@ #define BACKEND_PRIORITY 0 #define BACKEND_FLAGS MATE_MIXER_BACKEND_NO_FLAGS -static void null_backend_class_init (NullBackendClass *klass); -static void null_backend_class_finalize (NullBackendClass *klass); -static void null_backend_init (NullBackend *null); - #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-function" G_DEFINE_DYNAMIC_TYPE (NullBackend, null_backend, MATE_MIXER_TYPE_BACKEND) 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) |