Skip to content
Snippets Groups Projects
Commit 9f2e54ed authored by Jannis Pohlmann's avatar Jannis Pohlmann
Browse files

* libxfce4menu/xfce-menu-monitor.c: Use g_str_hash and

	  g_str_equal for the file/directory to monitor handle
	  hash table, rather than comparing the pointers directly.
	* libxfce4menu/xfce-menu.c: Create submenu monitors after 
	  parsing by traversing the XfceMenu tree but remove them 
	  in xfce_menu_finalize (so creating the monitors happens
	  in the root menu, removing is handled inside the 
	  submenus). Now all monitors are properly removed when
	  the root menu is destroyed.
	* tests/test-display-root-menu.c: Print the pseudo monitor 
	  handle ID in monitor_file and monitor_directory.

git-svn-id: https://svn.xfce.org/svn/xfce/libxfce4menu/trunk@26090 a0aa69c2-05f4-0310-b83c-d5d913b14636
parent 8626eb2a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment