Move single-include guards inside include guards

gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
This commit is contained in:
Matthias Clasen
2012-12-28 09:57:34 -05:00
parent 4d4b6a8658
commit 5adecf183b
325 changed files with 1037 additions and 1037 deletions

View File

@ -15,13 +15,13 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTK_WIDGET_PATH_H__
#define __GTK_WIDGET_PATH_H__
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
#ifndef __GTK_WIDGET_PATH_H__
#define __GTK_WIDGET_PATH_H__
#include <glib-object.h>
#include <gdk/gdk.h>
#include <gtk/gtkenums.h>