Remove unused variables.
authorChristopher Michael <cpmichael1@comcast.net>
Fri, 15 Jan 2010 05:22:40 +0000 (05:22 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Fri, 15 Jan 2010 05:22:40 +0000 (05:22 +0000)
Use elm_win_conformant calls.

SVN revision: 45162

src/bin/test_conform.c

index 888cd5b..19c90d3 100644 (file)
@@ -4,17 +4,12 @@
 void 
 test_conformant(void *data, Evas_Object *obj, void *event) 
 {
-   Evas_Object *win, *bg, *conform;
-   Evas_Object *box, *btn;
-   Ecore_X_Window xwin;
+   Evas_Object *win, *bg, *conform, *btn;
 
    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
+   elm_win_conformant_set(win, 1);
 
    bg = elm_bg_add(win);
    elm_win_resize_object_add(win, bg);