cookbook: Made callback names more consistent
Changed callback function names so they are more consistent within this recipe and with other callback names used in other recipes.
This commit is contained in:
@ -4,9 +4,9 @@ static const ClutterColor stage_color = { 0x33, 0x33, 0x55, 0xff };
|
||||
static const ClutterColor rectangle_color = { 0xaa, 0x99, 0x00, 0xff };
|
||||
|
||||
static gboolean
|
||||
_pointer_moved_cb (ClutterActor *actor,
|
||||
ClutterEvent *event,
|
||||
gpointer user_data)
|
||||
_pointer_motion_cb (ClutterActor *actor,
|
||||
ClutterEvent *event,
|
||||
gpointer user_data)
|
||||
{
|
||||
ClutterMotionEvent *motion_event = (ClutterMotionEvent *)event;
|
||||
|
||||
@ -45,7 +45,7 @@ main (int argc, char *argv[])
|
||||
|
||||
g_signal_connect (rectangle,
|
||||
"motion-event",
|
||||
G_CALLBACK (_pointer_moved_cb),
|
||||
G_CALLBACK (_pointer_motion_cb),
|
||||
NULL);
|
||||
|
||||
clutter_actor_show (stage);
|
||||
|
Reference in New Issue
Block a user