Skip to content

Commit da92837

Browse files
authored
doc: avoid gi-docgen linking syntax for non-doc comments (libvips#4506)
1 parent 1d45a12 commit da92837

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

libvips/iofuncs/image.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@ vips_image_preeval(VipsImage *image)
15231523

15241524
/* For vips7 compat, we also have to make sure ->time on the
15251525
* image that was originally marked with
1526-
* [method@Image.set_progress] is valid.
1526+
* vips_image_set_progress() is valid.
15271527
*/
15281528
(void) vips_progress_add(image->progress_signal);
15291529

@@ -2655,7 +2655,7 @@ vips_image_write(VipsImage *image, VipsImage *out)
26552655
*
26562656
* If it's not partial, perhaps a file we write to or a memory image,
26572657
* we need to break any links between @image and @out created by
2658-
* [method@Image.pipelinev].
2658+
* vips_image_pipelinev().
26592659
*/
26602660
if (vips_image_ispartial(out)) {
26612661
vips_object_local(out, image);
@@ -3223,7 +3223,7 @@ vips_image_write_line(VipsImage *image, int ypos, VipsPel *linebuffer)
32233223
return -1;
32243224

32253225
/* Always clear kill before we start looping. See the
3226-
* call to [method@Image.iskilled] below.
3226+
* call to vips_image_iskilled() below.
32273227
*/
32283228
vips_image_set_kill(image, FALSE);
32293229
vips_image_write_prepare(image);
@@ -3469,7 +3469,7 @@ vips_image_wio_input(VipsImage *image)
34693469
g_object_unref(t1);
34703470

34713471
/* We need to zap any start/gen/stop callbacks. If we don't,
3472-
* calling [method@Region.prepare_to] later to read from this
3472+
* calling vips_region_prepare_to() later to read from this
34733473
* image will fail, since it will think it needs to create the
34743474
* image, not read from it.
34753475
*/
@@ -3553,7 +3553,7 @@ vips__image_wio_output(VipsImage *image)
35533553
*
35543554
* We used to check that ->data was null and warn about
35553555
* writing twice, but we no longer insist that this is called
3556-
* before [method@Image.write_prepare], so we can't do that any
3556+
* before vips_image_write_prepare(), so we can't do that any
35573557
* more.
35583558
*/
35593559
break;

libvips/iofuncs/object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ vips_object_dispose_argument(VipsObject *object, GParamSpec *pspec,
933933

934934
/* Free all args on this object which may be holding resources.
935935
*
936-
* Note that this is not the same as [method@Object.unref_outputs]. That
936+
* Note that this is not the same as vips_object_unref_outputs(). That
937937
* looks for output objects which may have been created during _build() which
938938
* hold refs to this object and unrefs them.
939939
*

libvips/iofuncs/operation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,7 @@ vips_call_argv_output(VipsObject *object,
14251425
* the GOption parser already, see above.
14261426
*
14271427
* We don't create the operation, so we must not unref it. The caller must
1428-
* unref on error too. The caller must also call [method@Object.unref_outputs] on
1428+
* unref on error too. The caller must also call vips_object_unref_outputs() on
14291429
* all code paths.
14301430
*/
14311431
int

libvips/iofuncs/region.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ vips_region_prepare_to(VipsRegion *reg,
17991799

18001800
/* clip r first against the size of reg->im, then again against the
18011801
* memory we have available to write to on dest. Just like
1802-
* [method@Region.region]
1802+
* vips_region_region()
18031803
*/
18041804
image.top = 0;
18051805
image.left = 0;

0 commit comments

Comments
 (0)