app: don't hardcode MOD2 in GimpContainerTreeView either

Add new utility function gimp_get_all_modifiers_mask() which returns
all modifiers used for "useful" things on the current platform, like
in the commit below.
This commit is contained in:
Michael Natterer
2011-10-10 00:17:20 +02:00
parent 6bee9df474
commit fffd1920e2
3 changed files with 16 additions and 4 deletions

View File

@ -63,6 +63,7 @@ GdkModifierType gimp_get_extend_selection_mask (void);
GdkModifierType gimp_get_modify_selection_mask (void);
GdkModifierType gimp_get_toggle_behavior_mask (void);
GdkModifierType gimp_get_constrain_behavior_mask (void);
GdkModifierType gimp_get_all_modifiers_mask (void);
void gimp_get_screen_resolution (GdkScreen *screen,
gdouble *xres,