Silence gtk-doc warnings

This commit is contained in:
Matthias Clasen 2014-05-27 12:45:04 -04:00
parent 7fa0228755
commit 4ce2f3e769
3 changed files with 7 additions and 8 deletions

View File

@ -8046,7 +8046,6 @@ gtk_gesture_multi_press_get_type
<TITLE>GtkGesturePan</TITLE>
GtkGesturePan
GtkPanDirection
GtkPanOrientation
gtk_gesture_pan_new
gtk_gesture_pan_get_orientation
gtk_gesture_pan_set_orientation

View File

@ -198,7 +198,8 @@ gtk_gesture_rotate_new (GtkWidget *widget)
* @gesture: a #GtkGestureRotate
*
* If @gesture is active, this function returns the angle difference
* in radians since the gesture was first recognized.
* in radians since the gesture was first recognized. If @gesture is
* not active, 0 is returned.
*
* Returns: the angle delta in radians
*
@ -210,10 +211,10 @@ gtk_gesture_rotate_get_angle_delta (GtkGestureRotate *gesture)
GtkGestureRotatePrivate *priv;
gdouble angle;
g_return_val_if_fail (GTK_IS_GESTURE_ROTATE (gesture), FALSE);
g_return_val_if_fail (GTK_IS_GESTURE_ROTATE (gesture), 0.0);
if (!_gtk_gesture_rotate_get_angle (gesture, &angle))
return 0;
return 0.0;
priv = gtk_gesture_rotate_get_instance_private (gesture);

View File

@ -189,13 +189,12 @@ gtk_gesture_zoom_new (GtkWidget *widget)
/**
* gtk_gesture_zoom_get_scale_delta:
* @gesture: a #GtkGestureZoom
* @scale: (out) (transfer none): zoom delta
*
* If @gesture is active, this function returns the zooming difference
* since the gesture was recognized (hence the starting point is
* considered 1:1). If @gesture is not active, 1 is returned.
*
* Returns: %TRUE if @controller is recognizing a zoom gesture
* Returns: the scale delta
*
* Since: 3.14
**/
@ -205,10 +204,10 @@ gtk_gesture_zoom_get_scale_delta (GtkGestureZoom *gesture)
GtkGestureZoomPrivate *priv;
gdouble distance;
g_return_val_if_fail (GTK_IS_GESTURE_ZOOM (gesture), FALSE);
g_return_val_if_fail (GTK_IS_GESTURE_ZOOM (gesture), 1.0);
if (!_gtk_gesture_zoom_get_distance (gesture, &distance))
return 1;
return 1.0;
priv = gtk_gesture_zoom_get_instance_private (gesture);