From 3f9d41e08699fa0e23e9a76819986f6464fd8e35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
Date: Sun, 1 Jan 2023 17:08:33 +0100
Subject: [PATCH] docs: Fix version for xfce_panel_set_image_from_source()

The `scale` argument was only added in 4.17.4, so better not to
encourage the use of this function before.

Related: !83, 0a732bdc8fddbe1bec37e6baa00df82dcb1ed435
---
 docs/reference/libxfce4panel-docs.xml  | 1 +
 libxfce4panel/xfce-panel-convenience.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/reference/libxfce4panel-docs.xml b/docs/reference/libxfce4panel-docs.xml
index 3ec874747..2285be662 100644
--- a/docs/reference/libxfce4panel-docs.xml
+++ b/docs/reference/libxfce4panel-docs.xml
@@ -139,6 +139,7 @@
   </index>
   <index id="api-index-4-18">
     <title>Index of new symbols in 4.18</title>
+    <xi:include href="xml/api-index-4.17.4.xml"><xi:fallback /></xi:include>
     <xi:include href="xml/api-index-4.17.2.xml"><xi:fallback /></xi:include>
   </index>
   <index id="api-index-4-14">
diff --git a/libxfce4panel/xfce-panel-convenience.c b/libxfce4panel/xfce-panel-convenience.c
index a97643b3e..9869ed013 100644
--- a/libxfce4panel/xfce-panel-convenience.c
+++ b/libxfce4panel/xfce-panel-convenience.c
@@ -328,7 +328,7 @@ xfce_panel_pixbuf_from_source (const gchar  *source,
  *
  * See also: #XfcePanelImage
  *
- * Since: 4.17.2
+ * Since: 4.17.4
  **/
 void
 xfce_panel_set_image_from_source (GtkImage     *image,
-- 
GitLab