diff options
author | Benjamin Otte <otte@redhat.com> | 2018-08-11 17:42:19 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-25 22:36:03 -0400 |
commit | 376dc4d1691317957bd94a85dea1cf695713e619 (patch) | |
tree | 3d7ee7a78bdcac5312e886fe5389940e5d713afa /gtk/gtkshortcutcontrollerprivate.h | |
parent | dfd81f9c6431ca7f51609d614a9c05df023be366 (diff) | |
download | gtk+-376dc4d1691317957bd94a85dea1cf695713e619.tar.gz |
shortcutcontroller: Add private API for running class shortcuts
We don't want regular users to be able to run class shortcuts in their
controllers, so we have to special case that.
Diffstat (limited to 'gtk/gtkshortcutcontrollerprivate.h')
-rw-r--r-- | gtk/gtkshortcutcontrollerprivate.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gtk/gtkshortcutcontrollerprivate.h b/gtk/gtkshortcutcontrollerprivate.h new file mode 100644 index 0000000000..945e526e66 --- /dev/null +++ b/gtk/gtkshortcutcontrollerprivate.h @@ -0,0 +1,28 @@ +/* + * Copyright © 2018 Benjamin Otte + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see <http://www.gnu.org/licenses/>. + * + * Authors: Benjamin Otte <otte@gnome.org> + */ + +#ifndef __GTK_SHORTCUT_CONTROLLER_PRIVATE_H__ +#define __GTK_SHORTCUT_CONTROLLER_PRIVATE_H__ + +#include "gtkshortcutcontroller.h" + +void gtk_shortcut_controller_set_run_class (GtkShortcutController *controller, + gboolean run_class); + +#endif /* __GTK_SHORTCUT_CONTROLLER_H__ */ |