X11 calls should be conditional

SVN revision: 45081
This commit is contained in:
xcomputerman 2010-01-13 08:37:35 +00:00 committed by xcomputerman
parent 9e644e73a2
commit 48c23a39bb
1 changed files with 2 additions and 0 deletions

View File

@ -11,8 +11,10 @@ test_conformant(void *data, Evas_Object *obj, void *event)
win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC);
elm_win_title_set(win, "Conformant");
elm_win_autodel_set(win, 1);
#ifdef HAVE_ELEMENTARY_X
xwin = elm_win_xwindow_get(win);
ecore_x_e_illume_conformant_set(xwin, 1);
#endif
bg = elm_bg_add(win);
elm_win_resize_object_add(win, bg);