summaryrefslogtreecommitdiff
path: root/applets/wncklet
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 /applets/wncklet
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 'applets/wncklet')
-rw-r--r--applets/wncklet/window-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 5ce9e48b..85670666 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -308,7 +308,7 @@ static gboolean applet_enter_notify_event (WnckTasklist *tl, GList *wnck_windows
gtk_widget_show (tasklist->preview);
- g_signal_connect_data (G_OBJECT (tasklist->preview), "draw", G_CALLBACK (preview_window_draw), thumbnail, (GClosureNotify) g_object_unref, 0);
+ g_signal_connect_data (G_OBJECT (tasklist->preview), "draw", G_CALLBACK (preview_window_draw), thumbnail, (GClosureNotify) G_CALLBACK (g_object_unref), 0);
return FALSE;
}