From 1671e53d1e0747caa742f753f669cdfb9600ac2c Mon Sep 17 00:00:00 2001 From: devilhorns Date: Mon, 7 Dec 2009 02:04:23 +0000 Subject: [PATCH] Fix illume_conformant to return 0 if the atom is not setup on the xwin. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@44234 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_x/xlib/ecore_x_e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_e.c b/src/lib/ecore_x/xlib/ecore_x_e.c index ece1a7b..901bd46 100644 --- a/src/lib/ecore_x/xlib/ecore_x_e.c +++ b/src/lib/ecore_x/xlib/ecore_x_e.c @@ -123,7 +123,7 @@ ecore_x_e_illume_conformant_set(Ecore_X_Window win, unsigned int is_conformant) EAPI int ecore_x_e_illume_conformant_get(Ecore_X_Window win) { - unsigned int val; + unsigned int val = 0; if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT, &val, 1)) return 0; -- 2.7.4