[gimp] app: can't call view_actions_setup() from file_actions_setup()



commit 0ff07fa385f401a7f9758d724a06304840f2f8c0
Author: Michael Natterer <mitch gimp org>
Date:   Wed Dec 12 23:26:46 2012 +0100

    app: can't call view_actions_setup() from file_actions_setup()
    
    This breaks Ctrl+W from docks to close the active display, we'll
    need another solution for this.

 app/actions/file-actions.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/actions/file-actions.c b/app/actions/file-actions.c
index 89e7db6..45185a2 100644
--- a/app/actions/file-actions.c
+++ b/app/actions/file-actions.c
@@ -46,7 +46,6 @@
 #include "actions.h"
 #include "file-actions.h"
 #include "file-commands.h"
-#include "view-actions.h"
 
 #include "gimp-intl.h"
 
@@ -247,9 +246,6 @@ file_actions_setup (GimpActionGroup *group)
                            group, 0);
 
   file_actions_close_all_update (group->gimp->displays, NULL, group);
-
-  /* Allows to interact with the active file view from docks. */
-  view_actions_setup (group);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]