projects
/
platform
/
core
/
uifw
/
pepper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3c0b0
)
samples:x11: add desktop_shell_init()
author
Jaehoon Jeong
<jh01.j@samsung.com>
Fri, 19 Jun 2015 04:14:08 +0000
(13:14 +0900)
committer
Taekyun Kim
<tkq.kim@samsung.com>
Tue, 7 Jul 2015 06:56:51 +0000
(15:56 +0900)
Change-Id: I6ef909e34d6ac4f6740c267e315240a6271df8ff
samples/src/x11-backend.c
patch
|
blob
|
history
diff --git
a/samples/src/x11-backend.c
b/samples/src/x11-backend.c
index
457cff7
..
b2ce05f
100644
(file)
--- a/
samples/src/x11-backend.c
+++ b/
samples/src/x11-backend.c
@@
-1,5
+1,6
@@
#include <pepper.h>
#include <pepper-x11.h>
+#include <pepper-desktop-shell.h>
/* TODO: */
#define PEPPER_ASSERT(exp)
@@
-30,6
+31,9
@@
main(int argc, char **argv)
pepper_output_set_mode(output, &mode);
#endif
+ if (!pepper_desktop_shell_init(compositor))
+ PEPPER_ASSERT(0);
+
display = pepper_compositor_get_display(compositor);
PEPPER_ASSERT(display);