Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : apps/expedite

Dir     : e17/apps/expedite/src/bin


Modified Files:
        about.c image_crossfade.c image_data_ycbcr601pl.c main.c 
        text_change.c ui.c 


Log Message:
fix some warnings

===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/about.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- about.c     11 Apr 2007 11:58:32 -0000      1.1
+++ about.c     11 Apr 2007 12:36:32 -0000      1.2
@@ -56,7 +56,7 @@
 }
 
 static void
-_loop(void)
+_loop(double t, int f)
 {
 }
 
===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/image_crossfade.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- image_crossfade.c   11 Apr 2007 11:58:32 -0000      1.1
+++ image_crossfade.c   11 Apr 2007 12:36:32 -0000      1.2
@@ -20,7 +20,6 @@
 /* setup */
 static void _setup(void)
 {
-   int i;
    Evas_Object *o;
    
    o = evas_object_image_add(evas);
===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/image_data_ycbcr601pl.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- image_data_ycbcr601pl.c     11 Apr 2007 11:58:32 -0000      1.1
+++ image_data_ycbcr601pl.c     11 Apr 2007 12:36:32 -0000      1.2
@@ -23,7 +23,7 @@
 {
    int i, y;
    FILE *f;
-   unsigned char **data, **lp, *p;
+   unsigned char **data, **lp;
    Evas_Object *o;
    for (i = 0; i < 1; i++)
      {
===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- main.c      11 Apr 2007 11:58:32 -0000      1.1
+++ main.c      11 Apr 2007 12:36:32 -0000      1.2
@@ -1071,6 +1071,7 @@
 engine_abort(void)
 {
    go = 0;
+   return go;
 }
 
 void
===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/text_change.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- text_change.c       11 Apr 2007 11:58:32 -0000      1.1
+++ text_change.c       11 Apr 2007 12:36:32 -0000      1.2
@@ -64,7 +64,6 @@
 static void _loop(double t, int f)
 {
    int i;
-   Evas_Coord x, y, w, h;
    char buf[1024];
    const char *strs[] = {
       "Big", "Smelly", "Fish", "Pants", "Octopus", "Garden", "There", "I",
===================================================================
RCS file: /cvs/e/e17/apps/expedite/src/bin/ui.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ui.c        11 Apr 2007 11:58:32 -0000      1.1
+++ ui.c        11 Apr 2007 12:36:32 -0000      1.2
@@ -135,8 +135,8 @@
 }
 
 static Evas_Coord down_x, down_y;
-static down = 0;
-static dowm_menu_sel = 0;
+static int down = 0;
+static int down_menu_sel = 0;
 
 static void
 _ui_mouse_down(void *data, Evas *e, Evas_Object *obj, void *event_info)
@@ -150,7 +150,7 @@
        down_x = ev->canvas.x;
        down_y = ev->canvas.y;
        down++;
-       dowm_menu_sel = menu_sel;
+       down_menu_sel = menu_sel;
      }
    else
      {
@@ -171,7 +171,7 @@
        dx = ev->canvas.x - down_x;
        dy = ev->canvas.y - down_y;
        if ((((dx * dx) + (dy * dy)) < (20 * 20)) &&
-           (menu_sel == dowm_menu_sel))
+           (menu_sel == down_menu_sel))
          _ui_select();
        down--;
      }
@@ -191,7 +191,7 @@
    if (!down) return;
    if (menu_active)
      {
-       menu_sel = dowm_menu_sel + ((ev->cur.canvas.x - down_x) / 25);
+       menu_sel = down_menu_sel + ((ev->cur.canvas.x - down_x) / 25);
        /* scroll */
        if (menu_sel < 0) menu_sel = 0;
        else if (menu_sel >= evas_list_count(menu)) menu_sel = 
evas_list_count(menu) - 1;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to