gnome-font-viewer: update to 47.0.

This commit is contained in:
oreo639 2025-02-11 18:04:34 -08:00 committed by oreo639
parent 80e9b50c64
commit a6ec7706a9
2 changed files with 4 additions and 35 deletions

View File

@ -1,31 +0,0 @@
From f2cfa9b2d9f97b4322bf6b4a38c7bd59e6a446c9 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Sun, 21 Jan 2024 13:12:27 +0100
Subject: [PATCH] Match type of action_toggle_search_cb to its use
This avoids an incompatible-pointer-types error and a build failure
with GCC 14.
---
src/font-view-window.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/font-view-window.c b/src/font-view-window.c
index 639ac33..24461f7 100644
--- a/src/font-view-window.c
+++ b/src/font-view-window.c
@@ -758,8 +758,11 @@ font_view_window_show_overview (FontViewWindow *self)
}
static void
-action_toggle_search_cb (FontViewWindow *self)
+action_toggle_search_cb (GtkWidget *widget,
+ const char *action_name,
+ GVariant *parameter)
{
+ FontViewWindow *self = FONT_VIEW_WINDOW (widget);
gtk_toggle_button_set_active (self->search_button,
!gtk_toggle_button_get_active (self->search_button));
--
GitLab

View File

@ -1,6 +1,6 @@
# Template file for 'gnome-font-viewer'
pkgname=gnome-font-viewer
version=46.0
version=47.0
revision=1
build_style=meson
hostmakedepends="pkg-config glib-devel gettext"
@ -11,7 +11,7 @@ short_desc="Font viewer for GNOME"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/gnome-font-viewer"
#changelog="https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/raw/main/NEWS"
changelog="https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/raw/gnome-46/NEWS"
changelog="https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/raw/main/NEWS"
#changelog="https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/raw/gnome-47/NEWS"
distfiles="${GNOME_SITE}/gnome-font-viewer/${version%.*}/gnome-font-viewer-${version}.tar.xz"
checksum=592f401e485d02cc044d487bb5c8e04c961da6856216768a59f1ff98bd2d537c
checksum=b8e5a042e0b241b0c7cae43f74da0d5f88e6423017a91feb86e7617edb4080ed