Commit 4c12892c authored by Simon Steinbeiss's avatar Simon Steinbeiss

launcher: Fix crash with actions menu (Bug #16823)

parent 960030ba
...@@ -1902,9 +1902,9 @@ launcher_plugin_button_update_action_menu (LauncherPlugin *plugin) ...@@ -1902,9 +1902,9 @@ launcher_plugin_button_update_action_menu (LauncherPlugin *plugin)
else else
{ {
plugin->action_menu = GTK_WIDGET (garcon_gtk_menu_get_desktop_actions_menu (item)); plugin->action_menu = GTK_WIDGET (garcon_gtk_menu_get_desktop_actions_menu (item));
gtk_menu_set_reserve_toggle_size (GTK_MENU (plugin->action_menu), FALSE);
if (plugin->action_menu) if (plugin->action_menu)
{ {
gtk_menu_set_reserve_toggle_size (GTK_MENU (plugin->action_menu), FALSE);
gtk_container_foreach (GTK_CONTAINER (plugin->action_menu), gtk_container_foreach (GTK_CONTAINER (plugin->action_menu),
launcher_plugin_add_desktop_actions, launcher_plugin_add_desktop_actions,
plugin); plugin);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment