remove mixer wizard check
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 4 Apr 2014 18:56:11 +0000 (14:56 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Fri, 4 Apr 2014 19:04:28 +0000 (15:04 -0400)
alsa is no longer the only output method, so this was a bogus check anyway

CID 1039872

src/modules/Makefile_wizard.mk
src/modules/wizard/page_140.c [deleted file]

index d741ed9f08e1b04571df53e6b6a429a1df38b6b5..8cde723dca08ca2b981e9b0d15357f23918b3a6c 100644 (file)
@@ -36,7 +36,6 @@ wizardpkg_LTLIBRARIES  = src/modules/wizard/module.la \
                         src/modules/wizard/page_110.la \
                         src/modules/wizard/page_120.la \
                         src/modules/wizard/page_130.la \
-                        src/modules/wizard/page_140.la \
                         src/modules/wizard/page_150.la \
                         src/modules/wizard/page_160.la \
                         src/modules/wizard/page_170.la \
@@ -128,11 +127,6 @@ src_modules_wizard_page_130_la_CPPFLAGS = $(MOD_CPPFLAGS)
 src_modules_wizard_page_130_la_LDFLAGS = $(MOD_LDFLAGS)
 src_modules_wizard_page_130_la_SOURCES = src/modules/wizard/page_130.c
 
-src_modules_wizard_page_140_la_LIBADD = $(MOD_LIBS)
-src_modules_wizard_page_140_la_CPPFLAGS = $(MOD_CPPFLAGS)
-src_modules_wizard_page_140_la_LDFLAGS = $(MOD_LDFLAGS)
-src_modules_wizard_page_140_la_SOURCES = src/modules/wizard/page_140.c
-
 src_modules_wizard_page_150_la_LIBADD = $(MOD_LIBS)
 src_modules_wizard_page_150_la_CPPFLAGS = $(MOD_CPPFLAGS) -DNEED_X=1
 src_modules_wizard_page_150_la_LDFLAGS = $(MOD_LDFLAGS)
diff --git a/src/modules/wizard/page_140.c b/src/modules/wizard/page_140.c
deleted file mode 100644 (file)
index fc3f3ad..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/* Setup if we need mixer? */
-#include "e_wizard.h"
-/*
-EAPI int
-wizard_page_init(E_Wizard_Page *pg __UNUSED__, Eina_Bool *need_xdg_desktops __UNUSED__, Eina_Bool *need_xdg_icons __UNUSED__)
-{
-   return 1;
-}
-
-EAPI int
-wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__)
-{
-   return 1;
-}
-*/
-EAPI int
-wizard_page_show(E_Wizard_Page *pg __UNUSED__)
-{
-   int hav_mixer = 0;
-#ifdef HAVE_ALSA
-   hav_mixer = 1;
-#endif
-   if (!hav_mixer)
-     {
-        E_Config_Module *em;
-        Eina_List *l;
-
-        EINA_LIST_FOREACH(e_config->modules, l, em)
-          {
-             if (!em->name) continue;
-             if (!strcmp(em->name, "mixer"))
-               {
-                  e_config->modules = eina_list_remove_list
-                      (e_config->modules, l);
-                  if (em->name) eina_stringshare_del(em->name);
-                  free(em);
-                  break;
-               }
-          }
-        e_config_save_queue();
-     }
-   return 0; /* 1 == show ui, and wait for user, 0 == just continue */
-}
-/*
-EAPI int
-wizard_page_hide(E_Wizard_Page *pg __UNUSED__)
-{
-   return 1;
-}
-
-EAPI int
-wizard_page_apply(E_Wizard_Page *pg __UNUSED__)
-{
-   return 1;
-}
-*/