aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLuis Menina <liberforce@freeside.fr>2009-06-14 04:37:40 +0800
committerLuis Menina <liberforce@freeside.fr>2009-06-14 04:48:47 +0800
commit3064b1394d1d98f10808b0cf25474c2541851dd4 (patch)
tree157c8dd9eb6d04d6c585ddf4e176e766cec73343 /src
parent7e2814612216637ed537c879646bd0691f883455 (diff)
downloadgsoc2013-empathy-3064b1394d1d98f10808b0cf25474c2541851dd4.tar
gsoc2013-empathy-3064b1394d1d98f10808b0cf25474c2541851dd4.tar.gz
gsoc2013-empathy-3064b1394d1d98f10808b0cf25474c2541851dd4.tar.bz2
gsoc2013-empathy-3064b1394d1d98f10808b0cf25474c2541851dd4.tar.lz
gsoc2013-empathy-3064b1394d1d98f10808b0cf25474c2541851dd4.tar.xz
gsoc2013-empathy-3064b1394d1d98f10808b0cf25474c2541851dd4.tar.zst
gsoc2013-empathy-3064b1394d1d98f10808b0cf25474c2541851dd4.zip
[Goal] Clean up GLib and GTK+ includes in empathy (Fixes #585669)
Allows to compile with G_DISABLE_SINGLE_INCLUDES, GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES. This prepares for the GNOME 3.0 transition.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-about-dialog.c3
-rw-r--r--src/empathy-about-dialog.h2
-rw-r--r--src/empathy-accounts-dialog.h2
-rw-r--r--src/empathy-chat-window.h2
-rw-r--r--src/empathy-main-window.h2
-rw-r--r--src/empathy-map-view.h2
-rw-r--r--src/empathy-preferences.h2
-rw-r--r--src/ephy-spinner.c4
-rw-r--r--src/ephy-spinner.h3
9 files changed, 9 insertions, 13 deletions
diff --git a/src/empathy-about-dialog.c b/src/empathy-about-dialog.c
index 62c545864..dd30e3aed 100644
--- a/src/empathy-about-dialog.c
+++ b/src/empathy-about-dialog.c
@@ -25,8 +25,7 @@
#include <config.h>
#include <glib/gi18n.h>
-#include <gtk/gtkaboutdialog.h>
-#include <gtk/gtksizegroup.h>
+#include <gtk/gtk.h>
#include <libempathy-gtk/empathy-ui-utils.h>
diff --git a/src/empathy-about-dialog.h b/src/empathy-about-dialog.h
index 3e8f40531..a290b3243 100644
--- a/src/empathy-about-dialog.h
+++ b/src/empathy-about-dialog.h
@@ -25,7 +25,7 @@
#ifndef __EMPATHY_ABOUT_DIALOG_H__
#define __EMPATHY_ABOUT_DIALOG_H__
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/src/empathy-accounts-dialog.h b/src/empathy-accounts-dialog.h
index 40ea24f3e..b8c3d3691 100644
--- a/src/empathy-accounts-dialog.h
+++ b/src/empathy-accounts-dialog.h
@@ -25,7 +25,7 @@
#ifndef __EMPATHY_ACCOUNTS_DIALOG_H__
#define __EMPATHY_ACCOUNTS_DIALOG_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include <libmissioncontrol/mc-account.h>
diff --git a/src/empathy-chat-window.h b/src/empathy-chat-window.h
index 835d67296..c46ef8fc4 100644
--- a/src/empathy-chat-window.h
+++ b/src/empathy-chat-window.h
@@ -29,7 +29,7 @@
#define __EMPATHY_CHAT_WINDOW_H__
#include <glib-object.h>
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include <libmissioncontrol/mc-account.h>
#include <libempathy-gtk/empathy-chat.h>
diff --git a/src/empathy-main-window.h b/src/empathy-main-window.h
index 562fa12c6..3d34e6c6b 100644
--- a/src/empathy-main-window.h
+++ b/src/empathy-main-window.h
@@ -24,7 +24,7 @@
#ifndef __EMPATHY_MAIN_WINDOW_H__
#define __EMPATHY_MAIN_WINDOW_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/src/empathy-map-view.h b/src/empathy-map-view.h
index 80a05a129..6628f1e08 100644
--- a/src/empathy-map-view.h
+++ b/src/empathy-map-view.h
@@ -21,7 +21,7 @@
#ifndef __EMPATHY_MAP_VIEW_H__
#define __EMPATHY_MAP_VIEW_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/src/empathy-preferences.h b/src/empathy-preferences.h
index 6cc86d1d6..aba58828e 100644
--- a/src/empathy-preferences.h
+++ b/src/empathy-preferences.h
@@ -25,7 +25,7 @@
#ifndef __EMPATHY_PREFERENCES_H__
#define __EMPATHY_PREFERENCES_H__
-#include <gtk/gtkwindow.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/src/ephy-spinner.c b/src/ephy-spinner.c
index be82ca71b..30ffa57c1 100644
--- a/src/ephy-spinner.c
+++ b/src/ephy-spinner.c
@@ -34,9 +34,7 @@
#define STOP_PROFILER(name)
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gtk/gtkicontheme.h>
-#include <gtk/gtkiconfactory.h>
-#include <gtk/gtksettings.h>
+#include <gtk/gtk.h>
/* Spinner cache implementation */
diff --git a/src/ephy-spinner.h b/src/ephy-spinner.h
index 4435fe371..769d54a3d 100644
--- a/src/ephy-spinner.h
+++ b/src/ephy-spinner.h
@@ -25,8 +25,7 @@
#ifndef EPHY_SPINNER_H
#define EPHY_SPINNER_H
-#include <gtk/gtkwidget.h>
-#include <gtk/gtkenums.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS