diff options
author | Benjamin Otte <otte@redhat.com> | 2018-02-08 06:15:10 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-02-08 06:16:01 +0100 |
commit | 7437d34eb95a4b44499a5f6464f8e81e3865ecf9 (patch) | |
tree | 126be2802ff106411ca5392b5679e21b44775dab /gtk/gtkshortcutsgroup.h | |
parent | eb3049d6b5608aa7391f1eef82e52d8959c27373 (diff) | |
download | gtk+-7437d34eb95a4b44499a5f6464f8e81e3865ecf9.tar.gz |
shortcuts: Don't include gtk.h
Clean up all shortcuts includes to only include the necessary files
while we're at it.
Diffstat (limited to 'gtk/gtkshortcutsgroup.h')
-rw-r--r-- | gtk/gtkshortcutsgroup.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkshortcutsgroup.h b/gtk/gtkshortcutsgroup.h index 88048e8a91..492b9ffc78 100644 --- a/gtk/gtkshortcutsgroup.h +++ b/gtk/gtkshortcutsgroup.h @@ -19,7 +19,11 @@ #ifndef __GTK_SHORTCUTS_GROUP_H__ #define __GTK_SHORTCUTS_GROUP_H__ -#include <gtk/gtkbox.h> +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only <gtk/gtk.h> can be included directly." +#endif + +#include <gdk/gdk.h> G_BEGIN_DECLS |