Accepting request 930803 from home:yfjiang:branches:GNOME:STABLE:41

- Add gtk4-fix-link-to-g_signal_emit.patch: fix build failure
  caused by inproper link to g_signal_emit.

OBS-URL: https://build.opensuse.org/request/show/930803
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2021-11-11 09:41:37 +00:00 committed by Git OBS Bridge
parent c735a28987
commit 0a30cc3587
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From 49032b4b6349ee196289a237d9baa74f90ac589d Mon Sep 17 00:00:00 2001
From: Emmanuele Bassi <ebassi@gnome.org>
Date: Mon, 1 Nov 2021 12:54:07 +0000
Subject: [PATCH] docs: Fix link to g_signal_emit()
---
gdk/gdkclipboard.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdk/gdkclipboard.c b/gdk/gdkclipboard.c
index b2fd191538..3daf2dcb04 100644
--- a/gdk/gdkclipboard.c
+++ b/gdk/gdkclipboard.c
@@ -1253,14 +1253,14 @@ gdk_clipboard_set_content (GdkClipboard *clipboard,
* @...: value contents conforming to @type
*
* Sets the clipboard to contain the value collected from the given varargs.
- *
+ *
* Values should be passed the same way they are passed to other value
* collecting APIs, such as [`method@GObject.Object.set`] or
- * [`id@g_signal_emit`].
+ * [`func@GObject.signal_emit`].
*
* ```c
* gdk_clipboard_set (clipboard, GTK_TYPE_STRING, "Hello World");
- *
+ *
* gdk_clipboard_set (clipboard, GDK_TYPE_TEXTURE, some_texture);
* ```
*/
--
GitLab

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 11 02:42:53 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
- Add gtk4-fix-link-to-g_signal_emit.patch: fix build failure
caused by inproper link to g_signal_emit.
-------------------------------------------------------------------
Thu Nov 4 20:37:05 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -34,6 +34,8 @@ Source2: settings.ini
Source3: macros.gtk4
Source98: gtk4-rpmlintrc
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM gtk4-fix-link-to-g_signal_emit.patch glgo#GNOME/gtk!4108 yfjiang@suse.com -- Fix link to g_signal_emit() in doc
Patch0: gtk4-fix-link-to-g_signal_emit.patch
BuildRequires: cups-devel >= 2.0
# We do not support building against cups 2.3 betas