mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-05-01 19:51:33 +00:00
Bugfix: Fixes #299, Unable to compile desktop package
This commit is contained in:
@@ -24,6 +24,18 @@
|
||||
*/
|
||||
#define WINTC_UNUSED(arg) __attribute__((unused)) arg
|
||||
|
||||
/**
|
||||
* @def WINTC_DEBUG_ONLY(arg)
|
||||
*
|
||||
* Marks a parameter as only used in chcked builds, so the compiler does not
|
||||
* complain for free builds.
|
||||
*/
|
||||
#ifdef WINTC_CHECKED
|
||||
#define WINTC_DEBUG_ONLY(arg) arg
|
||||
#else
|
||||
#define WINTC_DEBUG_ONLY(arg) WINTC_UNUSED(arg)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def WINTC_RETURN_IF_FAIL(cond)
|
||||
*
|
||||
|
||||
@@ -257,7 +257,7 @@ static void wintc_desktop_settings_set_wallpaper_path(
|
||||
//
|
||||
static void regkey_changed_desktop_cb(
|
||||
WINTC_UNUSED(WinTCRegistry* registry),
|
||||
const gchar* key_path,
|
||||
WINTC_DEBUG_ONLY(const gchar* key_path),
|
||||
const gchar* value_name,
|
||||
GVariant* value_variant,
|
||||
WINTC_UNUSED(gpointer user_data)
|
||||
|
||||
Reference in New Issue
Block a user