CenterBox: Guard against directly including header

https://bugzilla.gnome.org/show_bug.cgi?id=785280
This commit is contained in:
Daniel Boles 2017-08-05 18:44:02 +01:00
parent 8f22078787
commit 4accb9f167

View File

@ -22,6 +22,10 @@
#ifndef __GTK_CENTER_BOX_H__
#define __GTK_CENTER_BOX_H__
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
#include "gtkwidget.h"
G_BEGIN_DECLS