billiob pushed a commit to branch master.

commit 7faf2eb13312664192687edacd8c8b0b6588d5e0
Author: Boris Faure <[email protected]>
Date:   Thu Aug 29 15:17:43 2013 +0200

    make themes compile with efl 1.7
    
    Issue was reported in T143
---
 data/themes/default.edc | 6 ++++++
 data/themes/mild.edc    | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/data/themes/default.edc b/data/themes/default.edc
index 16970ef..670c7a4 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -2619,9 +2619,15 @@ target: "4.bottom"
             program {
                signal: "key,down"; source: "terminology";
                script {
+#if (EINA_VERSION_MAJOR > 1) || (EINA_VERSION_MINOR >= 8)
                   new buf[32];
                   snprintf(buf, 31, "key-down%i", (rand() % 5) + 1);
                   run_program(get_program_id(buf));
+#else
+                  run_program(PROGRAM:"key-down4"); // chosen by a fair dice 
roll
+                                                    // guaranteed to be random.
+                                                    // http://xkcd.com/221/
+#endif
                }
             }
             program { name: "key-down1";
diff --git a/data/themes/mild.edc b/data/themes/mild.edc
index f2a85cc..89c2227 100644
--- a/data/themes/mild.edc
+++ b/data/themes/mild.edc
@@ -1210,9 +1210,15 @@ collections {
             program {
                signal: "key,down"; source: "terminology";
                script {
+#if (EINA_VERSION_MAJOR > 1) || (EINA_VERSION_MINOR >= 8)
                   new buf[32];
                   snprintf(buf, 31, "key-down%i", (rand() % 5) + 1);
                   run_program(get_program_id(buf));
+#else
+                  run_program(PROGRAM:"key-down4"); // chosen by a fair dice 
roll
+                                                    // guaranteed to be random.
+                                                    // http://xkcd.com/221/
+#endif
                }
             }
             program { name: "key-down1";

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

Reply via email to