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/gtkshortcutssection.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/gtkshortcutssection.h')
-rw-r--r-- | gtk/gtkshortcutssection.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkshortcutssection.h b/gtk/gtkshortcutssection.h index 8b7c3bb394..420a0de6f3 100644 --- a/gtk/gtkshortcutssection.h +++ b/gtk/gtkshortcutssection.h @@ -19,8 +19,11 @@ #ifndef __GTK_SHORTCUTS_SECTION_H__ #define __GTK_SHORTCUTS_SECTION_H__ -#include <gtk/gtkbox.h> -#include <gtk/gtkshortcutsgroup.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 |