summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-01-05 08:55:54 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-01-05 08:55:54 -0500
commita8d3df85a28de104597d909544ef1f19b3f06d91 (patch)
tree4429b51ec79a7ac218a301bb4ef937db6b9d3817
parentfaf2dcf9d3c164a271315b958c142bd21f01e212 (diff)
elementary: Fix elementary not compiling
With the push of 1056b6ed01475817da2439012057d11865d2c5d8, elementary compile broke due to undeclared variables. This patch fixes elm to compile again by declaring the missing vars. @fix @raster, Please double check this change as I am unsure if it is what you Really intended here. Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
-rw-r--r--src/lib/elm_config.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index c2a02a745..02091ddae 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -1898,8 +1898,9 @@ _elm_config_eet_close_error_get(Eet_File *ef,
1898} 1898}
1899 1899
1900static Eina_Bool 1900static Eina_Bool
1901_elm_config_profile_save(void) 1901_elm_config_profile_save(const char *profile)
1902{ 1902{
1903 Elm_Config_Derived *derived;
1903 char buf[4096], buf2[4096]; 1904 char buf[4096], buf2[4096];
1904 int ok = 0, ret; 1905 int ok = 0, ret;
1905 const char *err; 1906 const char *err;
@@ -1943,7 +1944,7 @@ _elm_config_profile_save(void)
1943 derived = _elm_config_derived_load(profile ? profile : _elm_profile); 1944 derived = _elm_config_derived_load(profile ? profile : _elm_profile);
1944 if (derived) 1945 if (derived)
1945 { 1946 {
1946 _elm_config_derived_save(cfg, derived); 1947 _elm_config_derived_save(_elm_config, derived);
1947 _elm_config_derived_free(derived); 1948 _elm_config_derived_free(derived);
1948 } 1949 }
1949 return EINA_TRUE; 1950 return EINA_TRUE;
@@ -1956,7 +1957,6 @@ err:
1956Eina_Bool 1957Eina_Bool
1957_elm_config_save(Elm_Config *cfg, const char *profile) 1958_elm_config_save(Elm_Config *cfg, const char *profile)
1958{ 1959{
1959 Elm_Config_Derived *derived;
1960 char buf[4096], buf2[4096]; 1960 char buf[4096], buf2[4096];
1961 int ok = 0, ret; 1961 int ok = 0, ret;
1962 const char *err; 1962 const char *err;
@@ -1990,7 +1990,7 @@ _elm_config_save(Elm_Config *cfg, const char *profile)
1990 1990
1991 if (!profile) 1991 if (!profile)
1992 { 1992 {
1993 if (!_elm_config_profile_save()) 1993 if (!_elm_config_profile_save(NULL))
1994 return EINA_FALSE; 1994 return EINA_FALSE;
1995 } 1995 }
1996 1996
@@ -3608,7 +3608,7 @@ elm_config_all_flush(void)
3608 return; 3608 return;
3609 } 3609 }
3610 3610
3611 if (!_elm_config_profile_save()) 3611 if (!_elm_config_profile_save(NULL))
3612 { 3612 {
3613 ERR("Failed to save profile"); 3613 ERR("Failed to save profile");
3614 return; 3614 return;