summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elock.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/elock.c b/elock.c
index e3334f5..909f526 100644
--- a/elock.c
+++ b/elock.c
@@ -38,7 +38,7 @@ int main (int argc, char **argv)
/* calling timer with the duration */
timer = elock_build_timer (time);
if (!timer)
- fprintf (stdout, "ERROR OF TIMER");
+ fprintf (stdout, "error of timer");
/* Building and setting evas window */
ee = ecore_evas_software_x11_new (NULL, 0, 0, 0, WIDTH, HEIGHT);
@@ -150,27 +150,26 @@ int elock_event_cb (void *data, int ev_type, void *ev)
void elock_key_event_cb (void *data, Evas * e, Evas_Object * obj, void *event_info)
{
-
- fprintf (stdout, "DEBUG ICI");
+ fprintf (stdout, "debug ici");
Evas_Event_Key_Down *ev;
- fprintf (stdout, "DEBUG LA");
+ fprintf (stdout, "debug la");
ev = (Evas_Event_Key_Down *) event_info;
fprintf (stdout, "You hit key: %s\n", ev->keyname);
- fprintf (stdout, " and TIMER RESET\n");
+ fprintf (stdout, " and timer reset\n");
elock_kill_timer (timer);
}
void elock_mouse_event_cb (void *data, Evas * e, Evas_Object * obj, void *event_info)
{
- fprintf (stdout, "MOUSE DOWN EVENT");
+ fprintf (stdout, "mouse down event");
Evas_Event_Mouse_Down *ev;
ev = (Evas_Event_Mouse_Down *) event_info;
fprintf (stdout, "You hit key: %s\n", ev->button);
- fprintf (stdout, " and TIMER RESET\n");
+ fprintf (stdout, " and timer reset\n");
elock_kill_timer (timer);
}