Add single-include guard and reduce includes to what's needed

This commit is contained in:
Michael Natterer 2009-10-21 20:21:20 +02:00
parent 8c34831e42
commit 34b4b4d9c3
2 changed files with 8 additions and 4 deletions

View File

@ -29,9 +29,10 @@
#include "config.h"
#include "gtkintl.h"
#include <gtk/gtk.h>
#include "gtkcellrendererspinner.h"
#include "gtkiconfactory.h"
#include "gtkicontheme.h"
#include "gtkintl.h"
#include "gtkalias.h"

View File

@ -20,10 +20,14 @@
* Boston, MA 02111-1307, USA.
*/
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
#ifndef __GTK_CELL_RENDERER_SPINNER_H__
#define __GTK_CELL_RENDERER_SPINNER_H__
#include <gtk/gtk.h>
#include <gtk/gtkcellrenderer.h>
G_BEGIN_DECLS
@ -61,4 +65,3 @@ GtkCellRenderer *gtk_cell_renderer_spinner_new (void);
G_END_DECLS
#endif /* __GTK_CELL_RENDERER_SPINNER_H__ */