aboutsummaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--libempathy-gtk/empathy-account-chooser.h2
-rw-r--r--libempathy-gtk/empathy-account-widget-irc.h2
-rw-r--r--libempathy-gtk/empathy-account-widget-sip.h2
-rw-r--r--libempathy-gtk/empathy-avatar-chooser.h2
-rw-r--r--libempathy-gtk/empathy-avatar-image.h2
-rw-r--r--libempathy-gtk/empathy-cell-renderer-activatable.c2
-rw-r--r--libempathy-gtk/empathy-cell-renderer-activatable.h2
-rw-r--r--libempathy-gtk/empathy-cell-renderer-expander.c2
-rw-r--r--libempathy-gtk/empathy-cell-renderer-expander.h2
-rw-r--r--libempathy-gtk/empathy-cell-renderer-text.h2
-rw-r--r--libempathy-gtk/empathy-chat-text-view.h2
-rw-r--r--libempathy-gtk/empathy-chat-view.h2
-rw-r--r--libempathy-gtk/empathy-chat.h2
-rw-r--r--libempathy-gtk/empathy-contact-list-store.h2
-rw-r--r--libempathy-gtk/empathy-contact-list-view.h2
-rw-r--r--libempathy-gtk/empathy-contact-menu.h2
-rw-r--r--libempathy-gtk/empathy-irc-network-dialog.h2
-rw-r--r--libempathy-gtk/empathy-new-message-dialog.h2
-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
27 files changed, 27 insertions, 31 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.h b/libempathy-gtk/empathy-account-chooser.h
index 004a3e87f..c2105406a 100644
--- a/libempathy-gtk/empathy-account-chooser.h
+++ b/libempathy-gtk/empathy-account-chooser.h
@@ -25,7 +25,7 @@
#ifndef __EMPATHY_ACCOUNT_CHOOSER_H__
#define __EMPATHY_ACCOUNT_CHOOSER_H__
-#include <gtk/gtkcombobox.h>
+#include <gtk/gtk.h>
#include <libmissioncontrol/mc-account.h>
diff --git a/libempathy-gtk/empathy-account-widget-irc.h b/libempathy-gtk/empathy-account-widget-irc.h
index 6ead048eb..a89081fc0 100644
--- a/libempathy-gtk/empathy-account-widget-irc.h
+++ b/libempathy-gtk/empathy-account-widget-irc.h
@@ -21,7 +21,7 @@
#ifndef __EMPATHY_ACCOUNT_WIDGET_IRC_H__
#define __EMPATHY_ACCOUNT_WIDGET_IRC_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include <libmissioncontrol/mc-account.h>
G_BEGIN_DECLS
diff --git a/libempathy-gtk/empathy-account-widget-sip.h b/libempathy-gtk/empathy-account-widget-sip.h
index 7e8e5a216..9187c1e0c 100644
--- a/libempathy-gtk/empathy-account-widget-sip.h
+++ b/libempathy-gtk/empathy-account-widget-sip.h
@@ -21,7 +21,7 @@
#ifndef __EMPATHY_ACCOUNT_WIDGET_SIP_H__
#define __EMPATHY_ACCOUNT_WIDGET_SIP_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include <libmissioncontrol/mc-account.h>
G_BEGIN_DECLS
diff --git a/libempathy-gtk/empathy-avatar-chooser.h b/libempathy-gtk/empathy-avatar-chooser.h
index f4e40a8b0..1a5023047 100644
--- a/libempathy-gtk/empathy-avatar-chooser.h
+++ b/libempathy-gtk/empathy-avatar-chooser.h
@@ -24,7 +24,7 @@
#ifndef __EMPATHY_AVATAR_CHOOSER_H__
#define __EMPATHY_AVATAR_CHOOSER_H__
-#include <gtk/gtkbutton.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
diff --git a/libempathy-gtk/empathy-avatar-image.h b/libempathy-gtk/empathy-avatar-image.h
index ddb446a60..2271ecc72 100644
--- a/libempathy-gtk/empathy-avatar-image.h
+++ b/libempathy-gtk/empathy-avatar-image.h
@@ -24,7 +24,7 @@
#ifndef __EMPATHY_AVATAR_IMAGE_H__
#define __EMPATHY_AVATAR_IMAGE_H__
-#include <gtk/gtkeventbox.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
diff --git a/libempathy-gtk/empathy-cell-renderer-activatable.c b/libempathy-gtk/empathy-cell-renderer-activatable.c
index 2883c4ded..6c7982682 100644
--- a/libempathy-gtk/empathy-cell-renderer-activatable.c
+++ b/libempathy-gtk/empathy-cell-renderer-activatable.c
@@ -20,7 +20,7 @@
* Authors: Raphael Slinckx <raphael@slinckx.net>
*/
-#include <gtk/gtktreeview.h>
+#include <gtk/gtk.h>
#include "empathy-cell-renderer-activatable.h"
diff --git a/libempathy-gtk/empathy-cell-renderer-activatable.h b/libempathy-gtk/empathy-cell-renderer-activatable.h
index 5962c200f..d58a082da 100644
--- a/libempathy-gtk/empathy-cell-renderer-activatable.h
+++ b/libempathy-gtk/empathy-cell-renderer-activatable.h
@@ -23,7 +23,7 @@
#ifndef __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__
#define __EMPATHY_CELL_RENDERER_ACTIVATABLE_H__
-#include <gtk/gtkcellrendererpixbuf.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/libempathy-gtk/empathy-cell-renderer-expander.c b/libempathy-gtk/empathy-cell-renderer-expander.c
index 09fe8bd4f..6fb7cfded 100644
--- a/libempathy-gtk/empathy-cell-renderer-expander.c
+++ b/libempathy-gtk/empathy-cell-renderer-expander.c
@@ -29,7 +29,7 @@
* start the new one).
*/
-#include <gtk/gtktreeview.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-utils.h>
#include "empathy-cell-renderer-expander.h"
diff --git a/libempathy-gtk/empathy-cell-renderer-expander.h b/libempathy-gtk/empathy-cell-renderer-expander.h
index fc569ded2..00e36f545 100644
--- a/libempathy-gtk/empathy-cell-renderer-expander.h
+++ b/libempathy-gtk/empathy-cell-renderer-expander.h
@@ -23,7 +23,7 @@
#ifndef __EMPATHY_CELL_RENDERER_EXPANDER_H__
#define __EMPATHY_CELL_RENDERER_EXPANDER_H__
-#include <gtk/gtkcellrenderer.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/libempathy-gtk/empathy-cell-renderer-text.h b/libempathy-gtk/empathy-cell-renderer-text.h
index 540c2ebb9..48ded9626 100644
--- a/libempathy-gtk/empathy-cell-renderer-text.h
+++ b/libempathy-gtk/empathy-cell-renderer-text.h
@@ -23,7 +23,7 @@
#ifndef __EMPATHY_CELL_RENDERER_TEXT_H__
#define __EMPATHY_CELL_RENDERER_TEXT_H__
-#include <gtk/gtkcellrenderertext.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/libempathy-gtk/empathy-chat-text-view.h b/libempathy-gtk/empathy-chat-text-view.h
index 7c4ff3430..0180f21d1 100644
--- a/libempathy-gtk/empathy-chat-text-view.h
+++ b/libempathy-gtk/empathy-chat-text-view.h
@@ -27,7 +27,7 @@
#ifndef __EMPATHY_CHAT_TEXT_VIEW_H__
#define __EMPATHY_CHAT_TEXT_VIEW_H__
-#include <gtk/gtktextview.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
#include <libempathy/empathy-message.h>
diff --git a/libempathy-gtk/empathy-chat-view.h b/libempathy-gtk/empathy-chat-view.h
index 893cf83e4..f3478be6d 100644
--- a/libempathy-gtk/empathy-chat-view.h
+++ b/libempathy-gtk/empathy-chat-view.h
@@ -23,7 +23,7 @@
#ifndef __EMPATHY_CHAT_VIEW_H__
#define __EMPATHY_CHAT_VIEW_H__
-#include <gtk/gtktextview.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
#include <libempathy/empathy-message.h>
diff --git a/libempathy-gtk/empathy-chat.h b/libempathy-gtk/empathy-chat.h
index 74d7e0681..12fac9617 100644
--- a/libempathy-gtk/empathy-chat.h
+++ b/libempathy-gtk/empathy-chat.h
@@ -28,7 +28,7 @@
#ifndef __EMPATHY_CHAT_H__
#define __EMPATHY_CHAT_H__
-#include <gtk/gtkbin.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
#include <libempathy/empathy-message.h>
diff --git a/libempathy-gtk/empathy-contact-list-store.h b/libempathy-gtk/empathy-contact-list-store.h
index 13ea099b3..007a6b069 100644
--- a/libempathy-gtk/empathy-contact-list-store.h
+++ b/libempathy-gtk/empathy-contact-list-store.h
@@ -26,7 +26,7 @@
#ifndef __EMPATHY_CONTACT_LIST_STORE_H__
#define __EMPATHY_CONTACT_LIST_STORE_H__
-#include <gtk/gtktreestore.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact-list.h>
#include <libempathy/empathy-contact.h>
diff --git a/libempathy-gtk/empathy-contact-list-view.h b/libempathy-gtk/empathy-contact-list-view.h
index 0c48764c4..e9c3457d8 100644
--- a/libempathy-gtk/empathy-contact-list-view.h
+++ b/libempathy-gtk/empathy-contact-list-view.h
@@ -26,7 +26,7 @@
#ifndef __EMPATHY_CONTACT_LIST_VIEW_H__
#define __EMPATHY_CONTACT_LIST_VIEW_H__
-#include <gtk/gtktreeview.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
diff --git a/libempathy-gtk/empathy-contact-menu.h b/libempathy-gtk/empathy-contact-menu.h
index 8126a8e59..262ec9650 100644
--- a/libempathy-gtk/empathy-contact-menu.h
+++ b/libempathy-gtk/empathy-contact-menu.h
@@ -22,7 +22,7 @@
#ifndef __EMPATHY_CONTACT_MENU_H__
#define __EMPATHY_CONTACT_MENU_H__
-#include <gtk/gtkmenu.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-contact.h>
diff --git a/libempathy-gtk/empathy-irc-network-dialog.h b/libempathy-gtk/empathy-irc-network-dialog.h
index 985849696..df4a8b152 100644
--- a/libempathy-gtk/empathy-irc-network-dialog.h
+++ b/libempathy-gtk/empathy-irc-network-dialog.h
@@ -21,7 +21,7 @@
#ifndef __EMPATHY_IRC_NETWORK_DIALOG_H__
#define __EMPATHY_IRC_NETWORK_DIALOG_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
#include <libempathy/empathy-irc-network.h>
diff --git a/libempathy-gtk/empathy-new-message-dialog.h b/libempathy-gtk/empathy-new-message-dialog.h
index c1781d0cf..08887c5e8 100644
--- a/libempathy-gtk/empathy-new-message-dialog.h
+++ b/libempathy-gtk/empathy-new-message-dialog.h
@@ -22,7 +22,7 @@
#ifndef __EMPATHY_NEW_MESSAGE_DIALOG_H__
#define __EMPATHY_NEW_MESSAGE_DIALOG_H__
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
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