mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
clapper-app: Fix unused variable warning when no MPRIS
When compiling without MPRIS feature "instance_count" is left unused, so skip it with preprocessor in order to avoid warning.
This commit is contained in:
@@ -86,7 +86,9 @@ typedef struct
|
|||||||
gint64 last_tick;
|
gint64 last_tick;
|
||||||
} ClapperAppWindowResizeData;
|
} ClapperAppWindowResizeData;
|
||||||
|
|
||||||
|
#if CLAPPER_HAVE_MPRIS
|
||||||
static guint16 instance_count = 0;
|
static guint16 instance_count = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline GQuark
|
static inline GQuark
|
||||||
clapper_app_window_extra_options_get_quark (void)
|
clapper_app_window_extra_options_get_quark (void)
|
||||||
|
Reference in New Issue
Block a user