Merged from miln005
commit
cb1421750a
|
@ -151,6 +151,9 @@ moo_action_activate (GtkAction *gtkaction)
|
||||||
{
|
{
|
||||||
MooAction *action = MOO_ACTION (gtkaction);
|
MooAction *action = MOO_ACTION (gtkaction);
|
||||||
|
|
||||||
|
if (GTK_ACTION_CLASS (moo_action_parent_class)->activate)
|
||||||
|
GTK_ACTION_CLASS (moo_action_parent_class)->activate (gtkaction);
|
||||||
|
|
||||||
if (action->priv->closure)
|
if (action->priv->closure)
|
||||||
moo_closure_invoke (action->priv->closure);
|
moo_closure_invoke (action->priv->closure);
|
||||||
}
|
}
|
||||||
|
@ -352,6 +355,9 @@ moo_toggle_action_toggled (GtkToggleAction *gtkaction)
|
||||||
{
|
{
|
||||||
MooToggleAction *action = MOO_TOGGLE_ACTION (gtkaction);
|
MooToggleAction *action = MOO_TOGGLE_ACTION (gtkaction);
|
||||||
|
|
||||||
|
if (GTK_TOGGLE_ACTION_CLASS (moo_toggle_action_parent_class)->toggled)
|
||||||
|
GTK_TOGGLE_ACTION_CLASS (moo_toggle_action_parent_class)->toggled (gtkaction);
|
||||||
|
|
||||||
if (action->priv->callback)
|
if (action->priv->callback)
|
||||||
{
|
{
|
||||||
if (MOO_OBJECT_PTR_GET (action->priv->ptr))
|
if (MOO_OBJECT_PTR_GET (action->priv->ptr))
|
||||||
|
|
Loading…
Reference in New Issue