mirror of https://github.com/GNOME/gimp.git
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
This commit is contained in:
parent
bb0ca406ef
commit
ef3fbab8bc
|
@ -1,3 +1,9 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue