summaryrefslogtreecommitdiff
path: root/src/bin/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/main.c')
-rw-r--r--src/bin/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 56f7524..29f66ee 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1,6 +1,5 @@
1#include <common.h>
2#include <epulse.h>
3#include <emix.h> 1#include <emix.h>
2#include "common.h"
4#include "main_window.h" 3#include "main_window.h"
5 4
6#define DEFAULT_HEIGHT 600 5#define DEFAULT_HEIGHT 600
@@ -11,8 +10,7 @@ elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
11{ 10{
12 Evas_Object *win; 11 Evas_Object *win;
13 12
14 EINA_SAFETY_ON_FALSE_RETURN_VAL(epulse_common_init("epulse"), EXIT_FAILURE); 13 EINA_SAFETY_ON_FALSE_RETURN_VAL(epulse_common_init("emixer"), EXIT_FAILURE);
15 EINA_SAFETY_ON_FALSE_RETURN_VAL(epulse_init() > 0, EXIT_FAILURE);
16 EINA_SAFETY_ON_FALSE_RETURN_VAL(emix_init() == EINA_TRUE, EXIT_FAILURE); 14 EINA_SAFETY_ON_FALSE_RETURN_VAL(emix_init() == EINA_TRUE, EXIT_FAILURE);
17 15
18 win = main_window_add(); 16 win = main_window_add();
@@ -23,7 +21,6 @@ elm_main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
23 elm_run(); 21 elm_run();
24 22
25 epulse_common_shutdown(); 23 epulse_common_shutdown();
26 epulse_shutdown();
27 emix_shutdown(); 24 emix_shutdown();
28 return 0; 25 return 0;
29} 26}