[gimp] zoompreview: Fix gtk-doc identifier



commit 09f8a3c922b4ba511764729d7e534c4a3b0f90b4
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Fri May 8 16:30:55 2020 +0200

    zoompreview: Fix gtk-doc identifier
    
    Also fix the (transfer full) annotation, which isn't correct.

 libgimp/gimpzoompreview.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/libgimp/gimpzoompreview.c b/libgimp/gimpzoompreview.c
index 7b2c6ad8d8..6d688c0c1e 100644
--- a/libgimp/gimpzoompreview.c
+++ b/libgimp/gimpzoompreview.c
@@ -780,11 +780,11 @@ gimp_zoom_preview_new_from_drawable (GimpDrawable *drawable)
 }
 
 /**
- * gimp_zoom_preview_new_with_model_from_drawable_id:
- * @drawable: (transfer none): a drawable
- * @model:    (transfer full): a #GimpZoomModel
+ * gimp_zoom_preview_new_with_model_from_drawable:
+ * @drawable: a #GimpDrawable
+ * @model:    a #GimpZoomModel
  *
- * Creates a new #GimpZoomPreview widget for @drawableusing the
+ * Creates a new #GimpZoomPreview widget for @drawable using the
  * given @model.
  *
  * This variant of gimp_zoom_preview_new_from_drawable() allows you
@@ -799,7 +799,6 @@ gimp_zoom_preview_new_from_drawable (GimpDrawable *drawable)
 GtkWidget *
 gimp_zoom_preview_new_with_model_from_drawable (GimpDrawable  *drawable,
                                                 GimpZoomModel *model)
-
 {
   g_return_val_if_fail (GIMP_IS_DRAWABLE (drawable), NULL);
   g_return_val_if_fail (gimp_item_is_valid (GIMP_ITEM (drawable)), NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]