summaryrefslogtreecommitdiff
path: root/mate-session/gsm-inhibitor.c
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-inhibitor.c
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-inhibitor.c')
-rw-r--r--mate-session/gsm-inhibitor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mate-session/gsm-inhibitor.c b/mate-session/gsm-inhibitor.c
index 3c67dae..33de12f 100644
--- a/mate-session/gsm-inhibitor.c
+++ b/mate-session/gsm-inhibitor.c
@@ -30,11 +30,10 @@
#include "gsm-inhibitor.h"
#include "gsm-inhibitor-glue.h"
+#include "gsm-util.h"
static guint32 inhibitor_serial = 1;
-#define IS_STRING_EMPTY(x) ((x)==NULL||(x)[0]=='\0')
-
#define GSM_INHIBITOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSM_TYPE_INHIBITOR, GsmInhibitorPrivate))
struct GsmInhibitorPrivate