You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
875 B
25 lines
875 B
Match type of action_toggle_search_cb to its use
|
|
|
|
This avoids an incompatible-pointer-types error and a build failure
|
|
with GCC 14.
|
|
|
|
Submitted upstream: <https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/merge_requests/60>
|
|
|
|
diff --git a/src/font-view-window.c b/src/font-view-window.c
|
|
index 639ac33309b87135..24461f7f195c84f9 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));
|