diff options
author | Monsta <[email protected]> | 2015-07-27 22:53:19 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-07-27 22:53:19 +0300 |
commit | 7446463bd4d0ac22005a4b51919536a1bd146779 (patch) | |
tree | 3c376efea5fb25deaa877ae7a23af41092ddfbff /mate-session/gsm-util.h | |
parent | 728d76ee07069a6f7aca9135d6a1d69e6d1ae345 (diff) | |
download | mate-session-manager-7446463bd4d0ac22005a4b51919536a1bd146779.tar.bz2 mate-session-manager-7446463bd4d0ac22005a4b51919536a1bd146779.tar.xz |
clean up and de-duplicate defines
from https://github.com/GNOME/gnome-session/commit/f415130f0de6cdc13d9433632d5ee1554a242103
and https://github.com/GNOME/gnome-session/commit/378f502047022b263d14bbbec213ad442e5ad822
Diffstat (limited to 'mate-session/gsm-util.h')
-rw-r--r-- | mate-session/gsm-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-session/gsm-util.h b/mate-session/gsm-util.h index 19c492d..efc980c 100644 --- a/mate-session/gsm-util.h +++ b/mate-session/gsm-util.h @@ -26,6 +26,8 @@ extern "C" { #endif +#define IS_STRING_EMPTY(x) ((x)==NULL||(x)[0]=='\0') + char * gsm_util_find_desktop_file_for_app_name (const char *app_name, char **dirs); |