[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix build warnings with --disable-desktop-menu

noreply at xfce.org noreply at xfce.org
Sun Jul 6 16:09:19 CEST 2014


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 3d8b381ebe4d20d08074857fd726fb3ed9eec3a4
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Jul 6 17:07:18 2014 +0300

    Fix build warnings with --disable-desktop-menu
---
 src/menu.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/menu.c b/src/menu.c
index f3ec10f..bae8d6a 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -68,7 +68,7 @@ _start_menu_module(void)
 }
 #endif
 
-#if USE_DESKTOP_MENU
+#ifdef USE_DESKTOP_MENU
 static void
 menu_populate(XfceDesktop *desktop,
               GtkMenuShell *menu,
@@ -116,7 +116,7 @@ menu_populate(XfceDesktop *desktop,
         xfce_desktop_menu_populate_menu(desktop_menu, GTK_WIDGET(menu));
     }
 }
-#endif
+#endif /* USE_DESKTOP_MENU */
 
 #ifdef USE_DESKTOP_MENU
 static void
@@ -174,11 +174,11 @@ menu_init(XfconfChannel *channel)
 void
 menu_attach(XfceDesktop *desktop)
 {
-#if USE_DESKTOP_MENU
+#ifdef USE_DESKTOP_MENU
     DBG("attached default menu");
     g_signal_connect_after(G_OBJECT(desktop), "populate-root-menu",
                            G_CALLBACK(menu_populate), NULL);
-#endif
+#endif /* USE_DESKTOP_MENU */
 }
 
 void

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list