Remove X11-related warning message 26/11626/2
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Thu, 31 Oct 2013 16:40:48 +0000 (14:40 -0200)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 5 Nov 2013 22:18:37 +0000 (14:18 -0800)
Change-Id: Ida1209ba2fe86a3fd62400906390a6900585267f
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
src/ibusshare.c

index d36232d..c2c6918 100644 (file)
@@ -111,10 +111,7 @@ ibus_get_socket_path (void)
             display = g_strdup (_display);
         }
 
-        if (display == NULL) {
-            g_warning ("DISPLAY is empty! We use default DISPLAY (:0.0)");
-        }
-        else {
+        if (display != NULL) {
             p = display;
             hostname = display;
             for (; *p != ':' && *p != '\0'; p++);