1
0
Fork 0

pan-action, zoom-action: Fix documentation for signals

The documentation said that you should return TRUE to mark
that the action was handled, but the code did the reverse.
Change the documentation to reflect what all the other gestures
do.

https://bugzilla.gnome.org/show_bug.cgi?id=689061
This commit is contained in:
Jasper St. Pierre 2012-11-25 23:25:20 -05:00
parent 9614dff158
commit 90a2401299
2 changed files with 4 additions and 4 deletions

View file

@ -522,8 +522,8 @@ clutter_pan_action_class_init (ClutterPanActionClass *klass)
* interpolation phase of the pan, after the drag has ended and * interpolation phase of the pan, after the drag has ended and
* the :interpolate property was set to %TRUE. * the :interpolate property was set to %TRUE.
* *
* Return value: TRUE if the pan action has been handled by one of * Return value: %TRUE if the pan should continue, and %FALSE if
* the listener or %FALSE to continue the emission. * the pan should be cancelled.
* *
* Since: 1.12 * Since: 1.12
*/ */

View file

@ -382,8 +382,8 @@ clutter_zoom_action_class_init (ClutterZoomActionClass *klass)
* this signal and call g_signal_stop_emission_by_name() from within * this signal and call g_signal_stop_emission_by_name() from within
* your callback. * your callback.
* *
* Return value: %TRUE if the zoom action has been handled by one of * Return value: %TRUE if the zoom should continue, and %FALSE if
* the listener or %FALSE to continue the emission. * the zoom should be cancelled.
* *
* Since: 1.12 * Since: 1.12
*/ */