Unnecessary function call in xfdesktop-icon-view.c
Hello!
In file xfdesktop-icon-view.c
at https://gitlab.xfce.org/xfce/xfdesktop/-/blob/master/src/xfdesktop-icon-view.c#L2767 we make a call to gdk_display_get_monitor_at_window()
to get the monitor but then the returned monitor is never used.
monitor = gdk_display_get_monitor_at_window (display, gtk_widget_get_parent_window(GTK_WIDGET(icon_view)));
Do we really need this function call?
Thanks!
Found by: scan-build