[libslab] Use single header includes.
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [libslab] Use single header includes.
- Date: Tue, 21 Jul 2009 21:04:53 +0000 (UTC)
commit 45cf8121e020a563437843d06b8457226b704d11
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jun 30 20:09:46 2009 +0200
Use single header includes.
libslab/double-click-detector.c | 2 +-
libslab/search-bar.c | 2 --
libslab/search-entry.h | 2 +-
libslab/shell-window.c | 7 +------
libslab/shell-window.h | 4 +---
libslab/slab-section.c | 3 ---
libslab/slab-section.h | 2 +-
libslab/system-tile.c | 1 -
8 files changed, 5 insertions(+), 18 deletions(-)
---
diff --git a/libslab/double-click-detector.c b/libslab/double-click-detector.c
index 8ddc9cf..df77351 100644
--- a/libslab/double-click-detector.c
+++ b/libslab/double-click-detector.c
@@ -20,7 +20,7 @@
#include "double-click-detector.h"
-#include <gtk/gtksettings.h>
+#include <gtk/gtk.h>
#include "libslab-utils.h"
diff --git a/libslab/search-bar.c b/libslab/search-bar.c
index 779590a..8e3f465 100644
--- a/libslab/search-bar.c
+++ b/libslab/search-bar.c
@@ -26,8 +26,6 @@
#include "nld-marshal.h"
#include <glib/gi18n-lib.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtkhbox.h>
typedef struct
{
diff --git a/libslab/search-entry.h b/libslab/search-entry.h
index 94188b8..5b728ec 100644
--- a/libslab/search-entry.h
+++ b/libslab/search-entry.h
@@ -21,7 +21,7 @@
#ifndef __NLD_SEARCH_ENTRY_H__
#define __NLD_SEARCH_ENTRY_H__
-#include <gtk/gtkentry.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/libslab/shell-window.c b/libslab/shell-window.c
index 4a9416c..d7fd6d1 100644
--- a/libslab/shell-window.c
+++ b/libslab/shell-window.c
@@ -20,12 +20,7 @@
#include "shell-window.h"
-#include <gtk/gtkhbox.h>
-#include <gtk/gtkalignment.h>
-#include <gtk/gtkbin.h>
-#include <gtk/gtkframe.h>
-#include <gtk/gtklayout.h>
-#include <gtk/gtkscrolledwindow.h>
+#include <gtk/gtk.h>
#include "app-resizer.h"
diff --git a/libslab/shell-window.h b/libslab/shell-window.h
index 92b58bc..88c1b1a 100644
--- a/libslab/shell-window.h
+++ b/libslab/shell-window.h
@@ -22,9 +22,7 @@
#define __SHELL_WINDOW_H__
#include <glib.h>
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkbox.h>
-#include <gtk/gtkframe.h>
+#include <gtk/gtk.h>
#include <libgnome/gnome-desktop-item.h>
#include "app-shell.h"
diff --git a/libslab/slab-section.c b/libslab/slab-section.c
index e416c5f..6fbf700 100644
--- a/libslab/slab-section.c
+++ b/libslab/slab-section.c
@@ -20,9 +20,6 @@
#include "slab-section.h"
-#include <gtk/gtklabel.h>
-#include <gtk/gtkalignment.h>
-
G_DEFINE_TYPE (SlabSection, slab_section, GTK_TYPE_VBOX)
static void slab_section_finalize (GObject *);
diff --git a/libslab/slab-section.h b/libslab/slab-section.h
index 48ee114..94c2c1b 100644
--- a/libslab/slab-section.h
+++ b/libslab/slab-section.h
@@ -22,7 +22,7 @@
#define __SLAB_SECTION_H__
#include <glib.h>
-#include <gtk/gtkvbox.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/libslab/system-tile.c b/libslab/system-tile.c
index cbb354e..f5915a0 100644
--- a/libslab/system-tile.c
+++ b/libslab/system-tile.c
@@ -23,7 +23,6 @@
#include <string.h>
#include <glib/gi18n-lib.h>
-#include <glib/gmacros.h>
#include <gconf/gconf-client.h>
#include "bookmark-agent.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]