diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-25 13:19:41 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-25 13:19:41 -0400 |
commit | 7d7d92a315a3e233c61a0073ee7801594b8b70a4 (patch) | |
tree | 6c7641acb7f9d4ff534e76369aeb3beceefad897 /src/nautilus-window-menus.c | |
parent | 3c629b5281bf7c6a02619556855a22b476dbec83 (diff) | |
download | nautilus-7d7d92a315a3e233c61a0073ee7801594b8b70a4.tar.gz |
application: remove unused code
Just activate the GAction when the menu item is clicked.
Diffstat (limited to 'src/nautilus-window-menus.c')
-rw-r--r-- | src/nautilus-window-menus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nautilus-window-menus.c b/src/nautilus-window-menus.c index c2ce9d0cc..4fd021785 100644 --- a/src/nautilus-window-menus.c +++ b/src/nautilus-window-menus.c @@ -440,7 +440,8 @@ static void action_close_all_windows_callback (GtkAction *action, gpointer user_data) { - nautilus_application_close_all_windows (nautilus_application_get_singleton ()); + g_action_group_activate_action (G_ACTION_GROUP (g_application_get_default ()), + "quit", NULL); } static void |