gimp r27959 - in branches/gimp-2-6: . libgimpwidgets



Author: mitch
Date: Mon Jan 26 20:25:14 2009
New Revision: 27959
URL: http://svn.gnome.org/viewvc/gimp?rev=27959&view=rev

Log:
2009-01-26  Michael Natterer  <mitch gimp org>

	Merged from trunk:

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



Modified:
   branches/gimp-2-6/ChangeLog
   branches/gimp-2-6/libgimpwidgets/gimpbutton.c

Modified: branches/gimp-2-6/libgimpwidgets/gimpbutton.c
==============================================================================
--- branches/gimp-2-6/libgimpwidgets/gimpbutton.c	(original)
+++ branches/gimp-2-6/libgimpwidgets/gimpbutton.c	Mon Jan 26 20:25:14 2009
@@ -133,4 +133,8 @@
       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);
+    }
 }



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