* 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
Showing
- ChangeLog 14 additions, 0 deletionsChangeLog
- INSTALL 34 additions, 31 deletionsINSTALL
- libxfce4menu/xfce-menu-monitor.c 2 additions, 1 deletionlibxfce4menu/xfce-menu-monitor.c
- libxfce4menu/xfce-menu.c 0 additions, 4 deletionslibxfce4menu/xfce-menu.c
- po/libxfce4menu-0.1.pot 2 additions, 2 deletionspo/libxfce4menu-0.1.pot
- tests/test-display-menu.c 4 additions, 4 deletionstests/test-display-menu.c
Loading
Please register or sign in to comment