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

chain up if a parent impl exists to be safe against future gtk versions

2009-01-26  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpbutton.c (gimp_button_clicked): chain up if a
	parent impl exists to be safe against future gtk versions doing
	something in GtkButton::clicked() (as happened in GTK+ trunk).


svn path=/trunk/; revision=27958
parent bb0ca406
2009-01-26 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpbutton.c (gimp_button_clicked): chain up if a
parent impl exists to be safe against future gtk versions doing
something in GtkButton::clicked() (as happened in GTK+ trunk).
2009-01-26 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve-bend.c (p_load_pointfile): check the
......
......@@ -132,4 +132,8 @@ gimp_button_clicked (GtkButton *button)
gimp_button_extended_clicked (GIMP_BUTTON (button),
GIMP_BUTTON (button)->press_state);
}
else if (GTK_BUTTON_CLASS (parent_class)->clicked)
{
GTK_BUTTON_CLASS (parent_class)->clicked (button);
}
}
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