gimp r25514 - in trunk: . app/actions



Author: mitch
Date: Tue Apr 22 16:53:42 2008
New Revision: 25514
URL: http://svn.gnome.org/viewvc/gimp?rev=25514&view=rev

Log:
2008-04-22  Michael Natterer  <mitch gimp org>

	* app/actions/view-actions.c (view_actions_update): simplify call
	to window_actions_update() (we already have a local "shell"
	variable that is NULL when there is no display).



Modified:
   trunk/ChangeLog
   trunk/app/actions/view-actions.c

Modified: trunk/app/actions/view-actions.c
==============================================================================
--- trunk/app/actions/view-actions.c	(original)
+++ trunk/app/actions/view-actions.c	Tue Apr 22 16:53:42 2008
@@ -661,7 +661,7 @@
       GIMP_IS_GIMP (group->user_data))
     {
       /*  see view_actions_setup()  */
-      window_actions_update (group, display ? display->shell : NULL);
+      window_actions_update (group, GTK_WIDGET (shell));
     }
 
 #undef SET_ACTIVE



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