import gtk4-4.4.1-2.el9

This commit is contained in:
CentOS Sources 2022-09-27 05:48:46 -04:00 committed by Stepan Oksanichenko
parent bc04698f60
commit 61fcec5201
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,30 @@
From ce1b970b468f16046f08b84d75d871e594d68a45 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
Date: Sat, 4 Dec 2021 00:15:54 +0100
Subject: [PATCH] gtkimcontextwayland: Set a higher IO extension priority
We want this to take precedence in the wayland platform to other
modules that might be loaded via the IO extension point. None of
those is going to bode well in this platform.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4443
---
gtk/gtkimcontextwayland.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c
index 9f4df8954b..8b372d048f 100644
--- a/gtk/gtkimcontextwayland.c
+++ b/gtk/gtkimcontextwayland.c
@@ -101,7 +101,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkIMContextWayland, gtk_im_context_wayland, GTK_TYPE_I
g_io_extension_point_implement (GTK_IM_MODULE_EXTENSION_POINT_NAME,
g_define_type_id,
"wayland",
- 0));
+ 100));
#define GTK_IM_CONTEXT_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gtk_im_context_wayland_get_type (), GtkIMContextWayland))
--
2.37.0

View File

@ -17,7 +17,7 @@
Name: gtk4
Version: 4.4.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: GTK graphical user interface library
License: LGPLv2+
@ -87,6 +87,8 @@ Recommends: dconf%{?_isa}
# Removed in F34
Obsoletes: gtk4-devel-docs < 4.1.2
Patch00001: 0001-gtkimcontextwayland-Set-a-higher-IO-extension-priori.patch
%description
GTK is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK is suitable for
@ -209,6 +211,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_mandir}/man1/gtk4-widget-factory.1*
%changelog
* Wed Jul 13 2022 Carlos Garnacho <cgarnach@redhat.com> - 4.4.1-2
- Ensure Wayland gets the Wayland IM context
Resolves: #2087031
* Mon Nov 01 2021 Kalev Lember <klember@redhat.com> - 4.4.1-1
- Update to 4.4.1