Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/elicit

Dir     : e17/apps/elicit/src


Modified Files:
        Makefile elicit.c 


Log Message:


don't double delete timers, and actually use the cflags set up in the makefile

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- Makefile    29 Sep 2003 19:54:03 -0000      1.1
+++ Makefile    7 Oct 2003 00:55:24 -0000       1.2
@@ -11,10 +11,10 @@
        rm -f *.o elicit 
 
 elicit: $(OBJECTS)
-       $(CC) -g -o $@ $(OBJECTS) $(LIBRARIES)
+       $(CC) -g -o $@ $(OBJECTS) $(LIBRARIES) 
 
-.o:
-       $(CC)  $(INCLUDES) -c  $<
+.c.o:
+       $(CC)  $(INCLUDES) -c $< 
 
 install:
        install elicit $(PREFIX)/bin
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/elicit.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- elicit.c    29 Sep 2003 19:54:03 -0000      1.1
+++ elicit.c    7 Oct 2003 00:55:24 -0000       1.2
@@ -131,7 +131,7 @@
 
 
   edje_object_size_min_get(gui, &mw, &mh);
-  printf("min size: %f x %f\n", mw, mh);
+  //printf("min size: %f x %f\n", mw, mh);
   ecore_evas_size_min_set(ee, mw, mh);
 
 
@@ -246,18 +246,18 @@
 static void
 cb_colors(void *data, Evas_Object *o, const char *sig, const char *src)
 {
-  printf("cb_colors!!!\n");
+  //printf("cb_colors!!!\n");
   if (!strcmp(sig, "mouse,down,1"))
   {
-    printf("--down\n");
+    //printf("--down\n");
     changing = 1;
     change_timer = ecore_timer_add(0.01, timer_color, strdup(src));
   }
   else if (!strcmp(sig, "mouse,up,1"))
   {
-    printf("--up\n");
+    //printf("--up\n");
     changing = 0;
-    ecore_timer_del(change_timer);
+    //ecore_timer_del(change_timer);
   }
 }
 
@@ -402,7 +402,7 @@
 
   if (changing == 1)
   { 
-    printf("***get start time!\n");
+    //printf("***get start time!\n");
     start = ecore_time_get();
     changing = 2;
   }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to