summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/alsa/alsa-backend.c3
-rw-r--r--backends/null/null-backend.c3
-rw-r--r--backends/pulse/pulse-backend.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/backends/alsa/alsa-backend.c b/backends/alsa/alsa-backend.c
index db8e0c2..39f67cc 100644
--- a/backends/alsa/alsa-backend.c
+++ b/backends/alsa/alsa-backend.c
@@ -50,14 +50,11 @@ struct _AlsaBackendPrivate
static void alsa_backend_dispose (GObject *object);
static void alsa_backend_finalize (GObject *object);
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunused-function"
G_DEFINE_DYNAMIC_TYPE_EXTENDED (AlsaBackend,
alsa_backend,
MATE_MIXER_TYPE_BACKEND,
0,
G_ADD_PRIVATE_DYNAMIC(AlsaBackend))
-#pragma clang diagnostic pop
static gboolean alsa_backend_open (MateMixerBackend *backend);
static void alsa_backend_close (MateMixerBackend *backend);
diff --git a/backends/null/null-backend.c b/backends/null/null-backend.c
index 0a8a36c..2f1eb8f 100644
--- a/backends/null/null-backend.c
+++ b/backends/null/null-backend.c
@@ -26,10 +26,7 @@
#define BACKEND_PRIORITY 0
#define BACKEND_FLAGS MATE_MIXER_BACKEND_NO_FLAGS
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunused-function"
G_DEFINE_DYNAMIC_TYPE (NullBackend, null_backend, MATE_MIXER_TYPE_BACKEND)
-#pragma clang diagnostic pop
static gboolean null_backend_open (MateMixerBackend *backend);
diff --git a/backends/pulse/pulse-backend.c b/backends/pulse/pulse-backend.c
index 1707b89..03770e5 100644
--- a/backends/pulse/pulse-backend.c
+++ b/backends/pulse/pulse-backend.c
@@ -117,10 +117,7 @@ struct _PulseBackendPrivate
static void pulse_backend_dispose (GObject *object);
static void pulse_backend_finalize (GObject *object);
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunused-function"
G_DEFINE_DYNAMIC_TYPE_EXTENDED (PulseBackend, pulse_backend, MATE_MIXER_TYPE_BACKEND, 0, G_ADD_PRIVATE_DYNAMIC(PulseBackend))
-#pragma clang diagnostic pop
static gboolean pulse_backend_open (MateMixerBackend *backend);
static void pulse_backend_close (MateMixerBackend *backend);