2008-10-08 Emmanuele Bassi <ebassi@linux.intel.com>

* tests/test-depth.c (raise_top), (main): Fix a shadowing
	with raise() from signal.h.
This commit is contained in:
Emmanuele Bassi 2008-10-08 19:50:22 +00:00
parent c606547dcb
commit 3d08e5f3d2
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-10-08 Emmanuele Bassi <ebassi@linux.intel.com>
* tests/test-depth.c (raise_top), (main): Fix a shadowing
with raise() from signal.h.
2008-10-01 Øyvind Kolås <pippin@linux.intel.com>
Bug 1108 - Enter/Leave events logics wrt. skipped motion events

View File

@ -11,13 +11,13 @@ timeline_completed (ClutterTimeline *timeline,
clutter_timeline_start (timeline);
}
static ClutterActor *raise[2];
static ClutterActor *raise_actor[2];
static gboolean raise_no = 0;
static gboolean
raise_top (gpointer ignored)
{
clutter_actor_raise_top (raise[raise_no]);
clutter_actor_raise_top (raise_actor[raise_no]);
raise_no = !raise_no;
return TRUE;
}
@ -199,8 +199,8 @@ main (int argc, char *argv[])
clutter_timeline_start (timeline);
raise[0] = rect;
raise[1] = hand;
raise_actor[0] = rect;
raise_actor[1] = hand;
g_timeout_add (2000, raise_top, NULL);
clutter_main ();