gimp r27958 - in trunk: . libgimpwidgets



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

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



Modified:
   trunk/ChangeLog
   trunk/libgimpwidgets/gimpbutton.c

Modified: trunk/libgimpwidgets/gimpbutton.c
==============================================================================
--- trunk/libgimpwidgets/gimpbutton.c	(original)
+++ trunk/libgimpwidgets/gimpbutton.c	Mon Jan 26 20:23:01 2009
@@ -132,4 +132,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]