changeset 27663:f7c5bb2f6623

Don't include an internal header in the public finch headers. Fixes #9539.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 18 Jul 2009 04:24:47 +0000
parents 0f48945aa77f
children 989f1bd200b7
files finch/finch.c finch/finch.h finch/gntaccount.c finch/gntblist.c finch/gntcertmgr.c finch/gntconn.c finch/gntconv.c finch/gntdebug.c finch/gntft.c finch/gntlog.c finch/gntnotify.c finch/gntplugin.c finch/gntpounce.c finch/gntprefs.c finch/gntrequest.c finch/gntroomlist.c finch/gntsound.c finch/gntstatus.c finch/gntui.c
diffstat 19 files changed, 18 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/finch.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/finch.c	Sat Jul 18 04:24:47 2009 +0000
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #include "account.h"
 #include "conversation.h"
--- a/finch/finch.h	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/finch.h	Sat Jul 18 04:24:47 2009 +0000
@@ -24,8 +24,6 @@
  */
 #include <glib.h>
 
-#include "libpurple/internal.h"
-
 #define FINCH_UI "gnt-purple"
 
 #define FINCH_PREFS_ROOT "/finch"
--- a/finch/gntaccount.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntaccount.c	Sat Jul 18 04:24:47 2009 +0000
@@ -36,6 +36,7 @@
 #include <gntwindow.h>
 
 #include "finch.h"
+#include <internal.h>
 
 #include <account.h>
 #include <accountopt.h>
--- a/finch/gntblist.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntblist.c	Sat Jul 18 04:24:47 2009 +0000
@@ -24,6 +24,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #include <account.h>
 #include <blist.h>
--- a/finch/gntcertmgr.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntcertmgr.c	Sat Jul 18 04:24:47 2009 +0000
@@ -26,6 +26,7 @@
  */
 
 #include "finch.h"
+#include <internal.h>
 
 #include "certificate.h"
 #include "debug.h"
--- a/finch/gntconn.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntconn.c	Sat Jul 18 04:24:47 2009 +0000
@@ -24,6 +24,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #include "account.h"
 #include "core.h"
--- a/finch/gntconv.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntconv.c	Sat Jul 18 04:24:47 2009 +0000
@@ -26,6 +26,7 @@
 #include <string.h>
 
 #include "finch.h"
+#include <internal.h>
 
 #include <cmds.h>
 #include <idle.h>
--- a/finch/gntdebug.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntdebug.c	Sat Jul 18 04:24:47 2009 +0000
@@ -35,6 +35,7 @@
 
 #include "gntdebug.h"
 #include "finch.h"
+#include <internal.h>
 #include "notify.h"
 #include "util.h"
 
--- a/finch/gntft.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntft.c	Sat Jul 18 04:24:47 2009 +0000
@@ -24,6 +24,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #include <gnt.h>
 #include <gntbox.h>
--- a/finch/gntlog.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntlog.c	Sat Jul 18 04:24:47 2009 +0000
@@ -24,6 +24,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #include <gnt.h>
 #include <gntbox.h>
--- a/finch/gntnotify.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntnotify.c	Sat Jul 18 04:24:47 2009 +0000
@@ -32,6 +32,7 @@
 #include <gntwindow.h>
 
 #include "finch.h"
+#include <internal.h>
 
 #include <util.h>
 
--- a/finch/gntplugin.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntplugin.c	Sat Jul 18 04:24:47 2009 +0000
@@ -32,6 +32,7 @@
 #include <gntutils.h>
 
 #include "finch.h"
+#include <internal.h>
 
 #include "debug.h"
 #include "notify.h"
--- a/finch/gntpounce.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntpounce.c	Sat Jul 18 04:24:47 2009 +0000
@@ -36,6 +36,7 @@
 #include <gntutils.h>
 
 #include "finch.h"
+#include <internal.h>
 
 #include "account.h"
 #include "conversation.h"
--- a/finch/gntprefs.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntprefs.c	Sat Jul 18 04:24:47 2009 +0000
@@ -24,6 +24,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #include <prefs.h>
 #include <savedstatuses.h>
--- a/finch/gntrequest.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntrequest.c	Sat Jul 18 04:24:47 2009 +0000
@@ -35,6 +35,7 @@
 #include <gnttree.h>
 
 #include "finch.h"
+#include <internal.h>
 #include "gntrequest.h"
 #include "debug.h"
 #include "util.h"
--- a/finch/gntroomlist.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntroomlist.c	Sat Jul 18 04:24:47 2009 +0000
@@ -25,6 +25,7 @@
  */
 
 #include "finch.h"
+#include <internal.h>
 
 #include "gntrequest.h"
 #include "gntroomlist.h"
--- a/finch/gntsound.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntsound.c	Sat Jul 18 04:24:47 2009 +0000
@@ -24,6 +24,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #ifdef _WIN32
 #include <windows.h>
--- a/finch/gntstatus.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntstatus.c	Sat Jul 18 04:24:47 2009 +0000
@@ -34,6 +34,7 @@
 #include <gntutils.h>
 
 #include "finch.h"
+#include <internal.h>
 
 #include <notify.h>
 #include <request.h>
--- a/finch/gntui.c	Fri Jul 17 04:11:00 2009 +0000
+++ b/finch/gntui.c	Sat Jul 18 04:24:47 2009 +0000
@@ -20,6 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 #include "finch.h"
+#include <internal.h>
 
 #include "gntui.h"