diff options
author | portix <none@none> | 2013-02-21 01:08:29 +0100 |
---|---|---|
committer | portix <none@none> | 2013-02-21 01:08:29 +0100 |
commit | acf15947de31ef454d8bb23997655846877ded52 (patch) | |
tree | fbd67dc96385cf376b1ae153f7861c1da8b03d93 /src/scripts.h | |
parent | 6cee1844ce6467b53285701039c047d550b5c858 (diff) | |
download | dwb-acf15947de31ef454d8bb23997655846877ded52.zip |
Fixing accidently deleted makro paramter
Diffstat (limited to 'src/scripts.h')
-rw-r--r-- | src/scripts.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/scripts.h b/src/scripts.h index f7a29ca5..b4a55b2d 100644 --- a/src/scripts.h +++ b/src/scripts.h @@ -74,13 +74,7 @@ gboolean scripts_execute_one(const char *script); void scripts_completion_activate(void); #define EMIT_SCRIPT(sig) ((dwb.misc.script_signals & (1<<SCRIPTS_SIG_##sig))) -#define SCRIPTS_EMIT_RETURN(signal, json) G_STMT_START \ - if (scripts_emit(&signal)) { \ - g_free(json); \ - return true; \ - } else g_free(json); \ -G_STMT_END -#define SCRIPTS_EMIT_RETURN_ARG(signal, json, val) G_STMT_START \ +#define SCRIPTS_EMIT_RETURN(signal, json, val) G_STMT_START \ if (scripts_emit(&signal)) { \ g_free(json); \ return val; \ |