docs: Update to show the symbolic button names

https://bugzilla.gnome.org/show_bug.cgi?id=668692
This commit is contained in:
Emmanuele Bassi
2012-01-27 09:46:51 +00:00
parent 12a79a66d8
commit 54c9257f28
3 changed files with 14 additions and 5 deletions

View File

@ -55,9 +55,9 @@ clicked_cb (ClutterActor *actor,
clutter_actor_get_scale (actor, &scale, NULL);
if (button == 1)
if (button == CLUTTER_BUTTON_PRIMARY)
scale *= 1.2;
else if (button == 3)
else if (button == CLUTTER_BUTTON_SECONDARY)
scale /= 1.2;
/* don't do anything if scale is outside bounds */