X11 calls should be conditional
authorxcomputerman <xcomputerman>
Wed, 13 Jan 2010 08:37:35 +0000 (08:37 +0000)
committerxcomputerman <xcomputerman@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Jan 2010 08:37:35 +0000 (08:37 +0000)
SVN revision: 45081

legacy/elementary/src/bin/test_conform.c

index 9ca195b..888cd5b 100644 (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);