diff options
author | rbuj <[email protected]> | 2020-03-15 11:40:34 +0100 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2020-04-16 14:38:14 +0200 |
commit | 2beb5d4fc7d18e63a633b7a3a5ccfda9c2746d3f (patch) | |
tree | 4758c631a67dd56394bd23c1f15484e9eec907be /src/mate-screensaver-preferences.c | |
parent | 876e72b42595f60fcc134ed5c9e9d36a9ad2b938 (diff) | |
download | mate-screensaver-2beb5d4fc7d18e63a633b7a3a5ccfda9c2746d3f.tar.bz2 mate-screensaver-2beb5d4fc7d18e63a633b7a3a5ccfda9c2746d3f.tar.xz |
Remove function casting for g_idle_add (function, data)
Diffstat (limited to 'src/mate-screensaver-preferences.c')
-rw-r--r-- | src/mate-screensaver-preferences.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c index 8efb25a..9d1706a 100644 --- a/src/mate-screensaver-preferences.c +++ b/src/mate-screensaver-preferences.c @@ -1492,6 +1492,7 @@ widget_set_best_visual (GtkWidget *widget) static gboolean setup_treeview_idle (gpointer data) { + (void)data; /* remove warning unused parameter ‘data’ */ GtkWidget *preview; GtkWidget *treeview; @@ -1709,7 +1710,7 @@ init_capplet (void) g_signal_connect (fullscreen_preview_next, "clicked", G_CALLBACK (fullscreen_preview_next_cb), NULL); - g_idle_add ((GSourceFunc)setup_treeview_idle, NULL); + g_idle_add (setup_treeview_idle, NULL); } static void |