From 7446463bd4d0ac22005a4b51919536a1bd146779 Mon Sep 17 00:00:00 2001 From: Monsta Date: Mon, 27 Jul 2015 22:53:19 +0300 Subject: clean up and de-duplicate defines from https://github.com/GNOME/gnome-session/commit/f415130f0de6cdc13d9433632d5ee1554a242103 and https://github.com/GNOME/gnome-session/commit/378f502047022b263d14bbbec213ad442e5ad822 --- mate-session/gsm-inhibitor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mate-session/gsm-inhibitor.c') 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 -- cgit v1.2.1