[gimp] app: forgot to remove a dead function



commit 81c89133327c9011b9df479f4e75119d44380fec
Author: Michael Natterer <mitch gimp org>
Date:   Mon Oct 22 00:49:06 2012 +0200

    app: forgot to remove a dead function

 app/menus/windows-menu.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/app/menus/windows-menu.c b/app/menus/windows-menu.c
index eb4409a..d0e587e 100644
--- a/app/menus/windows-menu.c
+++ b/app/menus/windows-menu.c
@@ -63,7 +63,6 @@ static void      windows_menu_dock_window_added          (GimpDialogFactory *fac
 static void      windows_menu_dock_window_removed        (GimpDialogFactory *factory,
                                                           GimpDockWindow    *dock_window,
                                                           GimpUIManager     *manager);
-static gboolean  windows_menu_is_toolbox_dock_window     (GimpDockWindow    *dock_window);
 static gchar   * windows_menu_dock_window_to_merge_id    (GimpDockWindow    *dock_window);
 static void      windows_menu_recent_add                 (GimpContainer     *container,
                                                           GimpSessionInfo   *info,
@@ -296,20 +295,6 @@ windows_menu_dock_window_removed (GimpDialogFactory *factory,
   g_free (merge_key);
 }
 
-static gboolean
-windows_menu_is_toolbox_dock_window (GimpDockWindow *dock_window)
-{
-  GimpDialogFactoryEntry *entry          = NULL;
-  gboolean                is_for_toolbox = FALSE;
-
-  gimp_dialog_factory_from_widget (GTK_WIDGET (dock_window), &entry);
-
-  if (entry && strcmp ("gimp-toolbox-window", entry->identifier) == 0)
-    is_for_toolbox = TRUE;
-
-  return is_for_toolbox;
-}
-
 static gchar *
 windows_menu_dock_window_to_merge_id (GimpDockWindow *dock_window)
 {



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