Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dspinella:zlib-ng-staging
gtksourceview
gtksourceview-gcc14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtksourceview-gcc14.patch of Package gtksourceview
From b25e71c57fc934a7ce36e51826af9fa7c2cf9a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= <swilmet@gnome.org> 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor