exmaple: passed explicit compositor name to a libpepper-efl. 11/65211/1
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 4 Apr 2016 04:42:24 +0000 (13:42 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Fri, 8 Apr 2016 02:02:14 +0000 (11:02 +0900)
Change-Id: Ia56a9459236259ba72c0e796a23b5d17e2bbb499

src/examples/pepper_efl_example.c

index cadc9094016568aa4cfac8733e417bc99f87e03f..0e9c938327ceb47cb22333d5026971a13195d0a6 100644 (file)
@@ -35,6 +35,8 @@ struct
 /* TODO this variable is declared for internal test. it should be deleted. */
 int now;
 
+static char *_comp_name = "pepper-efl-example";
+
 static int
 diff(int a, int b)
 {
@@ -565,7 +567,7 @@ elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
    evas_object_size_hint_align_set(d->border_obj2, EVAS_HINT_FILL, EVAS_HINT_FILL);
 
    /* pepper_efl init */
-   comp_name = pepper_efl_compositor_create(win, NULL);
+   comp_name = pepper_efl_compositor_create(win, _comp_name);
    if (!comp_name)
      return ret;