[gnome-control-center] Fix single GTK+ includes
- From: Kjartan Maraas <kmaraas src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-control-center] Fix single GTK+ includes
- Date: Mon, 13 Jul 2009 22:03:29 +0000 (UTC)
commit 232a92d1484d9f8b0c8e7f9c86964255abaa7583
Author: Kjartan Maraas <kmaraas gnome org>
Date: Mon Jul 13 23:56:37 2009 +0200
Fix single GTK+ includes
libslab/app-shell.c | 2 ++
libslab/double-click-detector.c | 2 +-
libslab/system-tile.c | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libslab/app-shell.c b/libslab/app-shell.c
index 05957e7..c2a2ee2 100644
--- a/libslab/app-shell.c
+++ b/libslab/app-shell.c
@@ -18,6 +18,8 @@
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#undef GTK_DISABLE_DEPRECATED
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
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/system-tile.c b/libslab/system-tile.c
index 75368b5..54aa97a 100644
--- a/libslab/system-tile.c
+++ b/libslab/system-tile.c
@@ -22,7 +22,7 @@
#include <string.h>
#include <glib/gi18n.h>
-#include <glib/gmacros.h>
+#include <glib.h>
#include <gconf/gconf-client.h>
#include <libgnomeui/gnome-client.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]