summaryrefslogtreecommitdiff
path: root/mate-panel/panel-util.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-07 14:12:38 +0200
committerraveit65 <[email protected]>2020-05-25 09:37:56 +0200
commit2570b9ab7f8e26c0035bd6fb5401cba99d682ac4 (patch)
tree208e932cdde1b8e50ac6cffe9e72db7ac6940105 /mate-panel/panel-util.c
parent146cc418fad7c39a21a1ce55f92a895bb0be3332 (diff)
downloadmate-panel-2570b9ab7f8e26c0035bd6fb5401cba99d682ac4.tar.bz2
mate-panel-2570b9ab7f8e26c0035bd6fb5401cba99d682ac4.tar.xz
Fix some cast-function-type warnings introduced in GCC 8
Diffstat (limited to 'mate-panel/panel-util.c')
-rw-r--r--mate-panel/panel-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-util.c b/mate-panel/panel-util.c
index 7389b321..7c2a22fa 100644
--- a/mate-panel/panel-util.c
+++ b/mate-panel/panel-util.c
@@ -1212,7 +1212,7 @@ panel_util_set_tooltip_text (GtkWidget *widget,
g_object_set (widget, "has-tooltip", TRUE, NULL);
g_signal_connect_data (widget, "query-tooltip",
G_CALLBACK (panel_util_query_tooltip_cb),
- g_strdup (text), (GClosureNotify) g_free, 0);
+ g_strdup (text), (GClosureNotify) G_CALLBACK (g_free), 0);
}
/* This is similar to what g_file_new_for_commandline_arg() does, but