[Xfce-bugs] [Bug 15553] xfce-desktop.c:1198:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Jun 7 20:20:35 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15553

--- Comment #4 from David Binderman <dcb314 at hotmail.com> ---
From:
           /* no icons on the desktop, grab the focus and pop up the menu */
            if(!gtk_widget_has_grab(w))
                gtk_grab_add(w);

            xfce_desktop_popup_root_menu(desktop, button, evt->time);
            return TRUE;

to:


           /* if no icons on the desktop then grab the focus  */
            if(!gtk_widget_has_grab(w))
                gtk_grab_add(w);

            /* pop up the menu */
            xfce_desktop_popup_root_menu(desktop, button, evt->time);
            return TRUE;

No user visible change, but the comments and the code
now match up.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list