gtk+ r20023 - in trunk: . gtk modules/input



Author: mitch
Date: Fri Apr 18 14:56:23 2008
New Revision: 20023
URL: http://svn.gnome.org/viewvc/gtk+?rev=20023&view=rev

Log:
2008-04-18  Michael Natterer  <mitch imendio com>

	* gtk/gtkicontheme.h
	* gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
	<gdk/gdkscreen.h>.

	* gtk/gtkbuilderparser.c
	* gtk/gtklinkbutton.c
	* gtk/gtkpreview.c
	* gtk/gtkrecentchooserdefault.c
	* gtk/gtkrecentchoosermenu.c
	* modules/input/gtkimcontextthai.c: remove inclusion of single
	files from gdk, none of the includes was actually needed.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkbuilderparser.c
   trunk/gtk/gtkicontheme.h
   trunk/gtk/gtklinkbutton.c
   trunk/gtk/gtkpreview.c
   trunk/gtk/gtkrecentchooserdefault.c
   trunk/gtk/gtkrecentchoosermenu.c
   trunk/gtk/gtkrecentmanager.h
   trunk/modules/input/gtkimcontextthai.c

Modified: trunk/gtk/gtkbuilderparser.c
==============================================================================
--- trunk/gtk/gtkbuilderparser.c	(original)
+++ trunk/gtk/gtkbuilderparser.c	Fri Apr 18 14:56:23 2008
@@ -23,8 +23,6 @@
 #include <string.h>
 #include <gmodule.h>
 
-#include <gdk/gdkenumtypes.h>
-#include <gdk/gdkkeys.h>
 #include "gtktypeutils.h"
 #include "gtkbuilderprivate.h"
 #include "gtkbuilder.h"

Modified: trunk/gtk/gtkicontheme.h
==============================================================================
--- trunk/gtk/gtkicontheme.h	(original)
+++ trunk/gtk/gtkicontheme.h	Fri Apr 18 14:56:23 2008
@@ -22,7 +22,7 @@
 
 #include <glib-object.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gdk/gdkscreen.h>
+#include <gdk/gdk.h>
 
 G_BEGIN_DECLS
 

Modified: trunk/gtk/gtklinkbutton.c
==============================================================================
--- trunk/gtk/gtklinkbutton.c	(original)
+++ trunk/gtk/gtklinkbutton.c	Fri Apr 18 14:56:23 2008
@@ -26,10 +26,6 @@
 
 #include <string.h>
 
-#include <gdk/gdkcolor.h>
-#include <gdk/gdkcursor.h>
-#include <gdk/gdkdisplay.h>
-
 #include "gtkclipboard.h"
 #include "gtkdnd.h"
 #include "gtkimagemenuitem.h"
@@ -58,7 +54,7 @@
 enum
 {
   PROP_0,
-  
+
   PROP_URI
 };
 

Modified: trunk/gtk/gtkpreview.c
==============================================================================
--- trunk/gtk/gtkpreview.c	(original)
+++ trunk/gtk/gtkpreview.c	Fri Apr 18 14:56:23 2008
@@ -35,7 +35,6 @@
 #ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
 #endif
-#include "gdk/gdkrgb.h"
 #include "gtkpreview.h"
 #include "gtkprivate.h"
 #include "gtkintl.h"

Modified: trunk/gtk/gtkrecentchooserdefault.c
==============================================================================
--- trunk/gtk/gtkrecentchooserdefault.c	(original)
+++ trunk/gtk/gtkrecentchooserdefault.c	Fri Apr 18 14:56:23 2008
@@ -29,8 +29,6 @@
 #include <unistd.h>
 #endif
 
-#include <gdk/gdkscreen.h>
-
 #include "gtkstock.h"
 #include "gtkicontheme.h"
 #include "gtkiconfactory.h"

Modified: trunk/gtk/gtkrecentchoosermenu.c
==============================================================================
--- trunk/gtk/gtkrecentchoosermenu.c	(original)
+++ trunk/gtk/gtkrecentchoosermenu.c	Fri Apr 18 14:56:23 2008
@@ -22,8 +22,6 @@
 
 #include <string.h>
 
-#include <gdk/gdkscreen.h>
-
 #include "gtkrecentmanager.h"
 #include "gtkrecentfilter.h"
 #include "gtkrecentchooser.h"

Modified: trunk/gtk/gtkrecentmanager.h
==============================================================================
--- trunk/gtk/gtkrecentmanager.h	(original)
+++ trunk/gtk/gtkrecentmanager.h	Fri Apr 18 14:56:23 2008
@@ -22,8 +22,8 @@
 #define __GTK_RECENT_MANAGER_H__
 
 #include <glib-object.h>
-#include <gdk/gdkscreen.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gdk/gdk.h>
 #include <time.h>
 
 G_BEGIN_DECLS

Modified: trunk/modules/input/gtkimcontextthai.c
==============================================================================
--- trunk/modules/input/gtkimcontextthai.c	(original)
+++ trunk/modules/input/gtkimcontextthai.c	Fri Apr 18 14:56:23 2008
@@ -22,7 +22,6 @@
 #include <string.h>
 
 #include <gdk/gdkkeysyms.h>
-#include <gdk/gdkkeys.h>
 #include "gtkimcontextthai.h"
 #include "thai-charprop.h"
 



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