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:
committed by
Michael Natterer
parent
f6801672a8
commit
a17f8e56d0
@ -2,7 +2,7 @@
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* gimpactionview.h
|
||||
* Copyright (C) 2004 Michael Natterer <mitch@gimp.org>
|
||||
* Copyright (C) 2004-2005 Michael Natterer <mitch@gimp.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -34,7 +34,7 @@ enum
|
||||
GIMP_ACTION_VIEW_COLUMN_NAME,
|
||||
GIMP_ACTION_VIEW_COLUMN_ACCEL_KEY,
|
||||
GIMP_ACTION_VIEW_COLUMN_ACCEL_MASK,
|
||||
GIMP_ACTION_VIEW_COLUMN_MENU_ITEM,
|
||||
GIMP_ACTION_VIEW_COLUMN_ACCEL_CLOSURE,
|
||||
GIMP_ACTION_VIEW_NUM_COLUMNS
|
||||
};
|
||||
|
||||
@ -60,8 +60,6 @@ struct _GimpActionView
|
||||
struct _GimpActionViewClass
|
||||
{
|
||||
GtkTreeViewClass parent_class;
|
||||
|
||||
void (* changed) (GimpActionView *view);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user