import gtk3-3.22.30-11.el8

This commit is contained in:
CentOS Sources 2022-09-27 06:06:50 -04:00 committed by Stepan Oksanichenko
parent 7fe2f41df2
commit 349fd44ff5
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From abcc4773173ed8becb822971edad3f8d14a7a482 Mon Sep 17 00:00:00 2001
From: Matthias Clasen <mclasen@redhat.com>
Date: Mon, 21 May 2018 17:15:41 -0400
Subject: [PATCH] Remove the "without parent" warning
We've had it for a long time, and it hasn't really made
a difference. And I don't think we are prepared to turn
this into a hard error. So just drop it.
---
gtk/gtkdialog.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 273c370935..0ef0f08b24 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -776,9 +776,6 @@ gtk_dialog_map (GtkWidget *widget)
GtkWindow *window = GTK_WINDOW (widget);
GtkDialog *dialog = GTK_DIALOG (widget);
- if (gtk_window_get_transient_for (window) == NULL)
- g_message ("GtkDialog mapped without a transient parent. This is discouraged.");
-
GTK_WIDGET_CLASS (gtk_dialog_parent_class)->map (widget);
focus = gtk_window_get_focus (window);
--
2.37.0

View File

@ -22,7 +22,7 @@
Name: gtk3
Version: 3.22.30
Release: 10%{?dist}
Release: 11%{?dist}
Summary: GTK+ graphical user interface library
License: LGPLv2+
@ -53,6 +53,8 @@ Patch11: gtk-3.22.20-fix-treeview-refcount2.patch
Patch12: gtk-3.22.20-quiet-exit.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2032437
Patch13: gtk-3.22.20-avoid-cellarea-crash.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2058260
Patch14: 0001-Remove-the-without-parent-warning.patch
BuildRequires: pkgconfig(atk) >= %{atk_version}
BuildRequires: pkgconfig(atk-bridge-2.0)
@ -205,6 +207,7 @@ the functionality of the installed %{name} package.
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%build
export CFLAGS='-fno-strict-aliasing %optflags'
@ -363,6 +366,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &>/dev/null || :
%{_datadir}/installed-tests
%changelog
* Mon Aug 22 2022 Carlos Garnacho <cgarnach@redhat.com> - 3.22.30-11
- Drop warning about unparented dialogs (#2058260)
* Tue Feb 15 2022 David King <dking@redhat.com> - 3.22.30-10
- Further treeview a11y refcount fix (#2032438)