Update to 3.24.8
This commit is contained in:
parent
0f81815fbe
commit
2e0788f46e
1
.gitignore
vendored
1
.gitignore
vendored
@ -178,3 +178,4 @@ gtk+-2.90.5.tar.bz2
|
||||
/gtk+-3.24.5.tar.xz
|
||||
/gtk+-3.24.6.tar.xz
|
||||
/gtk+-3.24.7.tar.xz
|
||||
/gtk+-3.24.8.tar.xz
|
||||
|
@ -1,42 +0,0 @@
|
||||
From a8bbcf33ecf162528e9b48e609f1131a8e52f072 Mon Sep 17 00:00:00 2001
|
||||
From: Kalev Lember <klember@redhat.com>
|
||||
Date: Tue, 12 Mar 2019 21:50:04 +0100
|
||||
Subject: [PATCH] window: Undo runtime gtk_window_present deprecation warnings
|
||||
|
||||
Now that gtk_window_present is no longer deprecated, remove the runtime
|
||||
warnings as well.
|
||||
---
|
||||
gtk/gtkwindow.c | 10 ----------
|
||||
1 file changed, 10 deletions(-)
|
||||
|
||||
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
|
||||
index b65e0fe8c8..874b053d57 100644
|
||||
--- a/gtk/gtkwindow.c
|
||||
+++ b/gtk/gtkwindow.c
|
||||
@@ -10527,7 +10527,6 @@ gtk_window_present_with_time (GtkWindow *window,
|
||||
GtkWindowPrivate *priv;
|
||||
GtkWidget *widget;
|
||||
GdkWindow *gdk_window;
|
||||
- static gsize warned_current_time = FALSE;
|
||||
|
||||
g_return_if_fail (GTK_IS_WINDOW (window));
|
||||
|
||||
@@ -10545,15 +10544,6 @@ gtk_window_present_with_time (GtkWindow *window,
|
||||
/* Translate a timestamp of GDK_CURRENT_TIME appropriately */
|
||||
if (timestamp == GDK_CURRENT_TIME)
|
||||
{
|
||||
- if (g_once_init_enter (&warned_current_time))
|
||||
- {
|
||||
- gboolean warned = TRUE;
|
||||
- g_warning ("gtk_window_present_with_time() should not be called with 0, or "
|
||||
- "GDK_CURRENT_TIME as a timestamp, the timestamp should instead be "
|
||||
- "gathered at the time the user initiated the request for the window "
|
||||
- "to be shown");
|
||||
- g_once_init_leave (&warned_current_time, warned);
|
||||
- }
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
if (GDK_IS_X11_WINDOW(gdk_window))
|
||||
{
|
||||
--
|
||||
2.21.0
|
||||
|
10
gtk3.spec
10
gtk3.spec
@ -20,17 +20,14 @@
|
||||
%global __provides_exclude_from ^%{_libdir}/gtk-3.0
|
||||
|
||||
Name: gtk3
|
||||
Version: 3.24.7
|
||||
Release: 2%{?dist}
|
||||
Version: 3.24.8
|
||||
Release: 1%{?dist}
|
||||
Summary: GTK+ graphical user interface library
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://www.gtk.org
|
||||
Source0: http://download.gnome.org/sources/gtk+/3.24/gtk+-%{version}.tar.xz
|
||||
|
||||
# https://gitlab.gnome.org/GNOME/gtk/merge_requests/632
|
||||
Patch0: 0001-window-Undo-runtime-gtk_window_present-deprecation-w.patch
|
||||
|
||||
BuildRequires: pkgconfig(atk) >= %{atk_version}
|
||||
BuildRequires: pkgconfig(atk-bridge-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
@ -321,6 +318,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &>/dev/null || :
|
||||
%{_datadir}/installed-tests/
|
||||
|
||||
%changelog
|
||||
* Thu Apr 11 2019 Kalev Lember <klember@redhat.com> - 3.24.8-1
|
||||
- Update to 3.24.8
|
||||
|
||||
* Thu Mar 14 2019 Kalev Lember <klember@redhat.com> - 3.24.7-2
|
||||
- Undo runtime gtk_window_present deprecation warnings
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (gtk+-3.24.7.tar.xz) = 2605087c3e09c81192769e6c4bcc4374e0fadbc4d05433edeaefd9915e128ff925c64fb3d07799bacccb16d85d31e53936ac09c696a09349efa6e21d886074c5
|
||||
SHA512 (gtk+-3.24.8.tar.xz) = a988ca2e25f0f32e55b2931f16c72f9649ed98405579d217e8a5e7f0ac10bcd1969090c622c5d9eb7d75235813ff7ccb90e30e252afd71ba283c6172ee459fe5
|
||||
|
Loading…
Reference in New Issue
Block a user