diff options
author | rbuj <[email protected]> | 2020-02-27 00:13:17 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-28 13:57:04 +0100 |
commit | 6d2a311be0d0416ccfd3cf1bc7d969e6ab74507a (patch) | |
tree | 21bae35e64eaf1813f073d146a0993f671f3cffb | |
parent | c391301c57cdcda738482053d98aef8d2bb81d01 (diff) | |
download | libmatemixer-6d2a311be0d0416ccfd3cf1bc7d969e6ab74507a.tar.bz2 libmatemixer-6d2a311be0d0416ccfd3cf1bc7d969e6ab74507a.tar.xz |
Remove warnings: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
-rw-r--r-- | backends/alsa/alsa-backend.c | 3 | ||||
-rw-r--r-- | backends/null/null-backend.c | 3 | ||||
-rw-r--r-- | backends/pulse/pulse-backend.c | 3 |
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); |