[gimp] app: Fix bogus cast in dock-actions.c



commit 5447938d5c7b6cf7f4ecb7a7d1ecf8d48932ee47
Author: Martin Nordholts <martinn src gnome org>
Date:   Sat Sep 26 16:13:42 2009 +0200

    app: Fix bogus cast in dock-actions.c

 app/actions/dock-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/actions/dock-actions.c b/app/actions/dock-actions.c
index d1c3672..8277ac9 100644
--- a/app/actions/dock-actions.c
+++ b/app/actions/dock-actions.c
@@ -106,7 +106,7 @@ dock_actions_update (GimpActionGroup *group,
       
       if (GIMP_IS_MENU_DOCK (dock))
         {
-          GimpMenuDock *menu_dock = GIMP_MENU_DOCK (toplevel);
+          GimpMenuDock *menu_dock = GIMP_MENU_DOCK (dock);
 
           SET_VISIBLE ("dock-show-image-menu",    TRUE);
           SET_VISIBLE ("dock-auto-follow-active", TRUE);



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