new function as workaround for missing GTK+ API (see bug #141750).

2005-01-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch] (gimp_action_get_accel_closure):
	new function as workaround for missing GTK+ API	(see bug #141750).

	* app/widgets/gimpactionview.[ch]: use the function instead of
	having this ugly hack here. Store the accel_closure instead of the
	hackish menu_item in the tree store. Removed cruft and cleaned up
	a bit.
This commit is contained in:
Michael Natterer
2005-01-21 14:58:03 +00:00
committed by Michael Natterer
parent f6801672a8
commit a17f8e56d0
5 changed files with 171 additions and 169 deletions

View File

@ -83,5 +83,7 @@ gboolean gimp_text_buffer_save (GtkTextBuffer *buffer,
void gimp_toggle_button_set_visible (GtkToggleButton *toggle,
GtkWidget *widget);
GClosure * gimp_action_get_accel_closure (GtkAction *action);
#endif /* __GIMP_WIDGETS_UTILS_H__ */