gtk+ r20675 - in trunk: . gtk



Author: mitch
Date: Mon Jun 23 14:07:19 2008
New Revision: 20675
URL: http://svn.gnome.org/viewvc/gtk+?rev=20675&view=rev

Log:
2008-06-23  Michael Natterer  <mitch imendio com>

	* gtk/gtkaction.h
	* gtk/gtkbuildable.h
	* gtk/gtkbuilderprivate.h
	* gtk/gtkcelllayout.h
	* gtk/gtkentrycompletion.h
	* gtk/gtkfilechoosersettings.h
	* gtk/gtkfilesystem.h
	* gtk/gtkfilesystemmodel.h
	* gtk/gtkicontheme.h
	* gtk/gtklinkbutton.h
	* gtk/gtkpagesetup.h
	* gtk/gtkpapersize.h
	* gtk/gtkprintcontext.h
	* gtk/gtkprintoperation.h
	* gtk/gtkprintoperationpreview.h
	* gtk/gtkprintsettings.h
	* gtk/gtkrecentchooserprivate.h
	* gtk/gtkrecentmanager.h
	* gtk/gtksearchengine.h
	* gtk/gtktexttag.h
	* gtk/gtktreeselection.h
	* gtk/gtktreeviewcolumn.h
	* gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
	<glib-object.h>. There is no point in relying on them being pulled
	in by other headers in some places and placing them explicitly in
	other places, so choose the "as little includes as possible"
	approach and get rid of them.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtkaction.h
   trunk/gtk/gtkbuildable.h
   trunk/gtk/gtkbuilderprivate.h
   trunk/gtk/gtkcelllayout.h
   trunk/gtk/gtkentrycompletion.h
   trunk/gtk/gtkfilechoosersettings.h
   trunk/gtk/gtkfilesystem.h
   trunk/gtk/gtkfilesystemmodel.h
   trunk/gtk/gtkicontheme.h
   trunk/gtk/gtklinkbutton.h
   trunk/gtk/gtkpagesetup.h
   trunk/gtk/gtkpapersize.h
   trunk/gtk/gtkprintcontext.h
   trunk/gtk/gtkprintoperation.h
   trunk/gtk/gtkprintoperationpreview.h
   trunk/gtk/gtkprintsettings.h
   trunk/gtk/gtkrecentchooserprivate.h
   trunk/gtk/gtkrecentmanager.h
   trunk/gtk/gtksearchengine.h
   trunk/gtk/gtktexttag.h
   trunk/gtk/gtktreeselection.h
   trunk/gtk/gtktreeviewcolumn.h
   trunk/gtk/gtkuimanager.h

Modified: trunk/gtk/gtkaction.h
==============================================================================
--- trunk/gtk/gtkaction.h	(original)
+++ trunk/gtk/gtkaction.h	Mon Jun 23 14:07:19 2008
@@ -36,7 +36,6 @@
 #define __GTK_ACTION_H__
 
 #include <gtk/gtkwidget.h>
-#include <glib-object.h>
 
 G_BEGIN_DECLS
 

Modified: trunk/gtk/gtkbuildable.h
==============================================================================
--- trunk/gtk/gtkbuildable.h	(original)
+++ trunk/gtk/gtkbuildable.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_BUILDABLE_H__
 #define __GTK_BUILDABLE_H__
 
-#include <glib.h>
 #include <gtk/gtkbuilder.h>
 #include <gtk/gtktypeutils.h>
 

Modified: trunk/gtk/gtkbuilderprivate.h
==============================================================================
--- trunk/gtk/gtkbuilderprivate.h	(original)
+++ trunk/gtk/gtkbuilderprivate.h	Mon Jun 23 14:07:19 2008
@@ -21,7 +21,6 @@
 #ifndef __GTK_BUILDER_PRIVATE_H__
 #define __GTK_BUILDER_PRIVATE_H__
 
-#include <glib-object.h>
 #include "gtkbuilder.h"
 
 typedef struct {

Modified: trunk/gtk/gtkcelllayout.h
==============================================================================
--- trunk/gtk/gtkcelllayout.h	(original)
+++ trunk/gtk/gtkcelllayout.h	Mon Jun 23 14:07:19 2008
@@ -24,8 +24,6 @@
 #ifndef __GTK_CELL_LAYOUT_H__
 #define __GTK_CELL_LAYOUT_H__
 
-#include <glib-object.h>
-
 #include <gtk/gtkcellrenderer.h>
 #include <gtk/gtktreeviewcolumn.h>
 #include <gtk/gtkbuildable.h>

Modified: trunk/gtk/gtkentrycompletion.h
==============================================================================
--- trunk/gtk/gtkentrycompletion.h	(original)
+++ trunk/gtk/gtkentrycompletion.h	Mon Jun 23 14:07:19 2008
@@ -24,8 +24,6 @@
 #ifndef __GTK_ENTRY_COMPLETION_H__
 #define __GTK_ENTRY_COMPLETION_H__
 
-#include <glib-object.h>
-
 #include <gtk/gtktreemodel.h>
 #include <gtk/gtkliststore.h>
 #include <gtk/gtktreeviewcolumn.h>

Modified: trunk/gtk/gtkfilechoosersettings.h
==============================================================================
--- trunk/gtk/gtkfilechoosersettings.h	(original)
+++ trunk/gtk/gtkfilechoosersettings.h	Mon Jun 23 14:07:19 2008
@@ -23,7 +23,6 @@
 #ifndef __GTK_FILE_CHOOSER_SETTINGS_H__
 #define __GTK_FILE_CHOOSER_SETTINGS_H__
 
-#include <glib-object.h>
 #include "gtkfilechooserprivate.h"
 
 G_BEGIN_DECLS

Modified: trunk/gtk/gtkfilesystem.h
==============================================================================
--- trunk/gtk/gtkfilesystem.h	(original)
+++ trunk/gtk/gtkfilesystem.h	Mon Jun 23 14:07:19 2008
@@ -22,7 +22,6 @@
 #define __GTK_FILE_SYSTEM_H__
 
 #include <gio/gio.h>
-#include <glib-object.h>
 #include <gtk/gtkwidget.h>	/* For icon handling */
 
 G_BEGIN_DECLS

Modified: trunk/gtk/gtkfilesystemmodel.h
==============================================================================
--- trunk/gtk/gtkfilesystemmodel.h	(original)
+++ trunk/gtk/gtkfilesystemmodel.h	Mon Jun 23 14:07:19 2008
@@ -21,7 +21,6 @@
 #ifndef __GTK_FILE_SYSTEM_MODEL_H__
 #define __GTK_FILE_SYSTEM_MODEL_H__
 
-#include <glib-object.h>
 #include "gtkfilesystem.h"
 #include <gtk/gtktreemodel.h>
 

Modified: trunk/gtk/gtkicontheme.h
==============================================================================
--- trunk/gtk/gtkicontheme.h	(original)
+++ trunk/gtk/gtkicontheme.h	Mon Jun 23 14:07:19 2008
@@ -24,7 +24,6 @@
 #ifndef __GTK_ICON_THEME_H__
 #define __GTK_ICON_THEME_H__
 
-#include <glib-object.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include <gdk/gdk.h>
 

Modified: trunk/gtk/gtklinkbutton.h
==============================================================================
--- trunk/gtk/gtklinkbutton.h	(original)
+++ trunk/gtk/gtklinkbutton.h	Mon Jun 23 14:07:19 2008
@@ -29,7 +29,6 @@
 #ifndef __GTK_LINK_BUTTON_H__
 #define __GTK_LINK_BUTTON_H__
 
-#include <glib.h>
 #include <gtk/gtkbutton.h>
 
 G_BEGIN_DECLS

Modified: trunk/gtk/gtkpagesetup.h
==============================================================================
--- trunk/gtk/gtkpagesetup.h	(original)
+++ trunk/gtk/gtkpagesetup.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_PAGE_SETUP_H__
 #define __GTK_PAGE_SETUP_H__
 
-#include <glib-object.h>
 #include <gtk/gtkenums.h>
 #include <gtk/gtkpapersize.h>
 

Modified: trunk/gtk/gtkpapersize.h
==============================================================================
--- trunk/gtk/gtkpapersize.h	(original)
+++ trunk/gtk/gtkpapersize.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_PAPER_SIZE_H__
 #define __GTK_PAPER_SIZE_H__
 
-#include <glib-object.h>
 #include <gtk/gtkenums.h>
 
 G_BEGIN_DECLS

Modified: trunk/gtk/gtkprintcontext.h
==============================================================================
--- trunk/gtk/gtkprintcontext.h	(original)
+++ trunk/gtk/gtkprintcontext.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_PRINT_CONTEXT_H__
 #define __GTK_PRINT_CONTEXT_H__
 
-#include <glib-object.h>
 #include <pango/pango.h>
 #include <gtk/gtkenums.h>
 #include <gtk/gtkpagesetup.h>

Modified: trunk/gtk/gtkprintoperation.h
==============================================================================
--- trunk/gtk/gtkprintoperation.h	(original)
+++ trunk/gtk/gtkprintoperation.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_PRINT_OPERATION_H__
 #define __GTK_PRINT_OPERATION_H__
 
-#include <glib-object.h>
 #include <cairo.h>
 #include <gtk/gtkmain.h>
 #include <gtk/gtkenums.h>

Modified: trunk/gtk/gtkprintoperationpreview.h
==============================================================================
--- trunk/gtk/gtkprintoperationpreview.h	(original)
+++ trunk/gtk/gtkprintoperationpreview.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_PRINT_OPERATION_PREVIEW_H__
 #define __GTK_PRINT_OPERATION_PREVIEW_H__
 
-#include <glib-object.h>
 #include <cairo.h>
 #include <gtk/gtkprintcontext.h>
 

Modified: trunk/gtk/gtkprintsettings.h
==============================================================================
--- trunk/gtk/gtkprintsettings.h	(original)
+++ trunk/gtk/gtkprintsettings.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_PRINT_SETTINGS_H__
 #define __GTK_PRINT_SETTINGS_H__
 
-#include <glib-object.h>
 #include <gtk/gtkpapersize.h>
 
 G_BEGIN_DECLS

Modified: trunk/gtk/gtkrecentchooserprivate.h
==============================================================================
--- trunk/gtk/gtkrecentchooserprivate.h	(original)
+++ trunk/gtk/gtkrecentchooserprivate.h	Mon Jun 23 14:07:19 2008
@@ -19,12 +19,10 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
- 
+
 #ifndef __GTK_RECENT_CHOOSER_PRIVATE_H__
 #define __GTK_RECENT_CHOOSER_PRIVATE_H__
 
-#include <glib-object.h>
-
 #include "gtkrecentmanager.h"
 #include "gtkrecentchooser.h"
 
@@ -40,5 +38,5 @@
 void              _gtk_recent_chooser_selection_changed  (GtkRecentChooser  *chooser);
 
 G_END_DECLS
- 
+
 #endif /* ! __GTK_RECENT_CHOOSER_PRIVATE_H__ */

Modified: trunk/gtk/gtkrecentmanager.h
==============================================================================
--- trunk/gtk/gtkrecentmanager.h	(original)
+++ trunk/gtk/gtkrecentmanager.h	Mon Jun 23 14:07:19 2008
@@ -25,7 +25,6 @@
 #ifndef __GTK_RECENT_MANAGER_H__
 #define __GTK_RECENT_MANAGER_H__
 
-#include <glib-object.h>
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include <gdk/gdk.h>
 #include <time.h>

Modified: trunk/gtk/gtksearchengine.h
==============================================================================
--- trunk/gtk/gtksearchengine.h	(original)
+++ trunk/gtk/gtksearchengine.h	Mon Jun 23 14:07:19 2008
@@ -23,7 +23,6 @@
 #ifndef __GTK_SEARCH_ENGINE_H__
 #define __GTK_SEARCH_ENGINE_H__
 
-#include <glib-object.h>
 #include "gtkquery.h"
 
 G_BEGIN_DECLS

Modified: trunk/gtk/gtktexttag.h
==============================================================================
--- trunk/gtk/gtktexttag.h	(original)
+++ trunk/gtk/gtktexttag.h	Mon Jun 23 14:07:19 2008
@@ -54,7 +54,6 @@
 #ifndef __GTK_TEXT_TAG_H__
 #define __GTK_TEXT_TAG_H__
 
-#include <glib-object.h>
 #include <gdk/gdk.h>
 #include <gtk/gtkenums.h>
 

Modified: trunk/gtk/gtktreeselection.h
==============================================================================
--- trunk/gtk/gtktreeselection.h	(original)
+++ trunk/gtk/gtktreeselection.h	Mon Jun 23 14:07:19 2008
@@ -24,10 +24,8 @@
 #ifndef __GTK_TREE_SELECTION_H__
 #define __GTK_TREE_SELECTION_H__
 
-#include <glib-object.h>
 #include <gtk/gtktreeview.h>
 
-
 G_BEGIN_DECLS
 
 
@@ -124,5 +122,4 @@
 
 G_END_DECLS
 
-
 #endif /* __GTK_TREE_SELECTION_H__ */

Modified: trunk/gtk/gtktreeviewcolumn.h
==============================================================================
--- trunk/gtk/gtktreeviewcolumn.h	(original)
+++ trunk/gtk/gtktreeviewcolumn.h	Mon Jun 23 14:07:19 2008
@@ -24,7 +24,6 @@
 #ifndef __GTK_TREE_VIEW_COLUMN_H__
 #define __GTK_TREE_VIEW_COLUMN_H__
 
-#include <glib-object.h>
 #include <gtk/gtkcellrenderer.h>
 #include <gtk/gtktreemodel.h>
 #include <gtk/gtktreesortable.h>

Modified: trunk/gtk/gtkuimanager.h
==============================================================================
--- trunk/gtk/gtkuimanager.h	(original)
+++ trunk/gtk/gtkuimanager.h	Mon Jun 23 14:07:19 2008
@@ -35,9 +35,6 @@
 #ifndef __GTK_UI_MANAGER_H__
 #define __GTK_UI_MANAGER_H__
 
-
-#include <glib.h>
-#include <glib-object.h>
 #include <gtk/gtkaccelgroup.h>
 #include <gtk/gtkwidget.h>
 #include <gtk/gtkaction.h>



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