On Mon, 4 Aug 2008 16:38:28 +0800
nettxzl <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I've installed xfce-4.4.2 (core components only) (on top of
> Xorg-7.2/BLFS-6.3rc2)
> 
> and it seems to be working fine except for one thing. The menu does
> not come up when I click on the menu icon (the icon disappears
> instead) in the panel or when I right click on the desktop background
> (no response). Middle clicking brings up the window list as expected.
> 
> The problem can be traced to this error message:
> 
> ** (xfce4-menu-plugin:2455): CRITICAL **: XfceDesktopMenu init failed
> (The XfceDesktopMenu module could not be loaded:
> /usr/lib/xfce4/modules/xfce4_desktop_menu.so: undefined symbol:
> desktop_menuspec_path_free)
> 
> Has anyone run into this problem or have any ideas how I might go
> about fixing it? Thanks for any help.
> 
> Toni
> 

It's working okay on my Gentoo-box - they attach a patch which mentions
the symbol you've cited, so i'll (hopefully) attach it for your
perusal. I'm afraid i'm not code-savvy enough to determine if it is a
definite fix for your problem...

Zorg
diff -ur xfdesktop-4.4.2.orig/modules/menu/desktop-menu-dentry.c xfdesktop-4.4.2/modules/menu/desktop-menu-dentry.c
--- xfdesktop-4.4.2.orig/modules/menu/desktop-menu-dentry.c	2007-11-17 21:31:43.000000000 +0200
+++ xfdesktop-4.4.2/modules/menu/desktop-menu-dentry.c	2008-03-21 11:18:59.000000000 +0200
@@ -173,7 +173,8 @@
         if(cmpname && g_ascii_strcasecmp(name, cmpname) < 0)
             break;
     }
-    
+    g_list_free(items);
+
     gtk_menu_shell_insert(menu_shell, mi, i);
     
     return i;
diff -ur xfdesktop-4.4.2.orig/modules/menu/desktop-menuspec.c xfdesktop-4.4.2/modules/menu/desktop-menuspec.c
--- xfdesktop-4.4.2.orig/modules/menu/desktop-menuspec.c	2007-11-17 21:31:43.000000000 +0200
+++ xfdesktop-4.4.2/modules/menu/desktop-menuspec.c	2008-03-21 11:18:59.000000000 +0200
@@ -203,7 +203,7 @@
                 else
                     foundcat = NULL;
                 if(!foundcat) {
-                    g_ptr_array_free(revpath, FALSE);
+                    g_ptr_array_free(revpath, TRUE);
                     revpath = NULL;
                     break;
                 }
@@ -220,7 +220,7 @@
                 newpath[totlen] = 0;
                 
                 g_ptr_array_add(mtfpi->paths, newpath);
-                g_ptr_array_free(revpath, FALSE);
+                g_ptr_array_free(revpath, TRUE);
             }
         }
     }
diff -ur xfdesktop-4.4.2.orig/modules/menu/desktop-menuspec.h xfdesktop-4.4.2/modules/menu/desktop-menuspec.h
--- xfdesktop-4.4.2.orig/modules/menu/desktop-menuspec.h	2007-11-17 21:31:43.000000000 +0200
+++ xfdesktop-4.4.2/modules/menu/desktop-menuspec.h	2008-03-21 11:18:56.000000000 +0200
@@ -82,6 +82,6 @@
  * @param paths A GPtrArray obtained from either menuspec_get_path_simple() or
  *              menuspec_get_path_multilevel().
  */
-G_INLINE_FUNC void desktop_menuspec_path_free(GPtrArray *paths);
+void desktop_menuspec_path_free(GPtrArray *paths);
 
 #endif /* ifdef __MENUSPEC_H__ */
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to