[gtk+] immodule: Fix includes



commit bd97127e6c1a17835d9d02c252522c0218467528
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 8 14:37:35 2011 +0100

    immodule: Fix includes
    
    Make includes not rely on gtkimmodule.h including gtk.h. This will be
    important once we remove gtkimmodule from the include files.
    
    That way, we can achieve not pulling deprecated headers automatically.

 gtk/gtkimmodule.c       |    2 ++
 gtk/gtkimmulticontext.c |    2 ++
 gtk/queryimmodules.c    |    1 +
 3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 093a557..de03fda 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -38,6 +38,8 @@
 #include "gtkprivate.h"
 #include "gtkintl.h"
 
+#include "deprecated/gtkrc.h"
+
 #define SIMPLE_ID "gtk-im-context-simple"
 
 /**
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 5d21643..dee54ec 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -24,8 +24,10 @@
 
 #include "gtkimmulticontext.h"
 #include "gtkimmodule.h"
+#include "gtklabel.h"
 #include "gtkmain.h"
 #include "gtkradiomenuitem.h"
+#include "gtkseparatormenuitem.h"
 #include "gtkintl.h"
 #include "gtkprivate.h"
 
diff --git a/gtk/queryimmodules.c b/gtk/queryimmodules.c
index 3e01bf0..2c7aa77 100644
--- a/gtk/queryimmodules.c
+++ b/gtk/queryimmodules.c
@@ -39,6 +39,7 @@
 
 #include "gtk/gtkimmodule.h"
 #include "gtk/gtkversion.h"
+#include "gtk/deprecated/gtkrc.h"
 
 static void
 escape_string (GString *contents, const char *str)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]