Commit c6cdd13a authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

simplify call to window_actions_update() (we already have a local "shell"

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).


svn path=/trunk/; revision=25514
parent 5fea1a59
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).
2008-04-22 Michael Natterer <mitch@gimp.org>
* app/sanity.c: add check for the GEGL version.
......
......@@ -661,7 +661,7 @@ view_actions_update (GimpActionGroup *group,
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment