Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gtksourceview for openSUSE:Factory checked in at 2024-04-25 20:47:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gtksourceview (Old) and /work/SRC/openSUSE:Factory/.gtksourceview.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gtksourceview" Thu Apr 25 20:47:40 2024 rev:119 rq:1170049 version:3.24.11 Changes: -------- --- /work/SRC/openSUSE:Factory/gtksourceview/gtksourceview.changes 2024-01-17 22:15:22.915177372 +0100 +++ /work/SRC/openSUSE:Factory/.gtksourceview.new.1880/gtksourceview.changes 2024-04-25 20:47:50.435124090 +0200 @@ -1,0 +2,6 @@ +Mon Apr 22 15:39:39 UTC 2024 - Michael Gorse <[email protected]> + +- Add gtksourceview-gcc14.patch: fix assignment from incompatible + pointer type. + +------------------------------------------------------------------- New: ---- gtksourceview-gcc14.patch BETA DEBUG BEGIN: New: - Add gtksourceview-gcc14.patch: fix assignment from incompatible pointer type. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gtksourceview.spec ++++++ --- /var/tmp/diff_new_pack.18kQAd/_old 2024-04-25 20:47:50.967143626 +0200 +++ /var/tmp/diff_new_pack.18kQAd/_new 2024-04-25 20:47:50.967143626 +0200 @@ -25,6 +25,8 @@ URL: https://wiki.gnome.org/Projects/GtkSourceView Source0: http://download.gnome.org/sources/gtksourceview/3.24/%{name}-%{version}.tar.xz Source1: changes.lang +# PATCH-FIX-UPSTREAM gtksourceview-gcc14.patch [email protected] -- fix assignment from incompatible pointer type. +Patch0: gtksourceview-gcc14.patch BuildRequires: fdupes BuildRequires: gobject-introspection-devel >= 1.42.0 ++++++ gtksourceview-gcc14.patch ++++++ >From b25e71c57fc934a7ce36e51826af9fa7c2cf9a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= <[email protected]> Date: Thu, 14 Dec 2017 13:03:15 +0100 Subject: [PATCH] View: fix assignment from incompatible pointer type GLib now propagates types with g_object_ref(). At that code path we are sure that buffer is a GtkSourceBuffer since there is a condition if (GTK_SOURCE_IS_BUFFER (buffer)). --- gtksourceview/gtksourceview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c index 21424be9..e642ce36 100644 --- a/gtksourceview/gtksourceview.c +++ b/gtksourceview/gtksourceview.c @@ -1531,7 +1531,7 @@ set_source_buffer (GtkSourceView *view, { GtkSourceBufferInternal *buffer_internal; - view->priv->source_buffer = g_object_ref (buffer); + view->priv->source_buffer = g_object_ref (GTK_SOURCE_BUFFER (buffer)); g_signal_connect (buffer, "highlight-updated", -- 2.44.0
