aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-08-10 10:13:24 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-08-10 10:22:44 +0200
commitdba2b9c982de64c97b4bfcbbb6659ee6e198a1f0 (patch)
treeaafd189aa43eac1036b0cd69bf89ab3313411ffc
parentb6e1dc48935ec9a2dc91c9325a26d5d352a4d547 (diff)
downloadfiv-dba2b9c982de64c97b4bfcbbb6659ee6e198a1f0.tar.gz
fiv-dba2b9c982de64c97b4bfcbbb6659ee6e198a1f0.tar.xz
fiv-dba2b9c982de64c97b4bfcbbb6659ee6e198a1f0.zip
Fix the argument list of a callback
-rw-r--r--fiv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fiv.c b/fiv.c
index 5aa38ec..92047bc 100644
--- a/fiv.c
+++ b/fiv.c
@@ -791,7 +791,8 @@ on_sort_direction(G_GNUC_UNUSED GtkMenuItem *item, gpointer data)
}
static void
-on_notify_view_messages(FivView *view, G_GNUC_UNUSED gpointer user_data)
+on_notify_view_messages(FivView *view, G_GNUC_UNUSED GParamSpec *param_spec,
+ G_GNUC_UNUSED gpointer user_data)
{
gchar *messages = NULL;
g_object_get(view, "messages", &messages, NULL);