summaryrefslogtreecommitdiff
path: root/mate-session/gsm-util.h
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-27 22:53:19 +0300
committerMonsta <[email protected]>2015-07-27 22:53:19 +0300
commit7446463bd4d0ac22005a4b51919536a1bd146779 (patch)
tree3c376efea5fb25deaa877ae7a23af41092ddfbff /mate-session/gsm-util.h
parent728d76ee07069a6f7aca9135d6a1d69e6d1ae345 (diff)
downloadmate-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.h2
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);