gtk+ r20426 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20426 - in trunk: . gtk
- Date: Tue, 17 Jun 2008 14:11:26 +0000 (UTC)
Author: mitch
Date: Tue Jun 17 14:11:26 2008
New Revision: 20426
URL: http://svn.gnome.org/viewvc/gtk+?rev=20426&view=rev
Log:
2008-06-17 Michael Natterer <mitch imendio com>
* gtk/gtkfilesel.c
* gtk/gtkinputdialog.c
* gtk/gtkmenutoolbutton.c
* gtk/gtkoptionmenu.c
* gtk/gtktoolitem.c
* gtk/gtktooltips.c: add or move around
#undef GTK_DISABLE_DEPRECATED so it's possible to build without
deprecated stuff again (with the minor glitch that it doesn't
link ;) but at least it's a tool to keep the code clean).
Modified:
trunk/ChangeLog
trunk/gtk/gtkfilesel.c
trunk/gtk/gtkinputdialog.c
trunk/gtk/gtkmenutoolbutton.c
trunk/gtk/gtkoptionmenu.c
trunk/gtk/gtktoolitem.c
trunk/gtk/gtktooltips.c
Modified: trunk/gtk/gtkfilesel.c
==============================================================================
--- trunk/gtk/gtkfilesel.c (original)
+++ trunk/gtk/gtkfilesel.c Tue Jun 17 14:11:26 2008
@@ -53,6 +53,9 @@
#endif /* G_PLATFORM_WIN32 */
#include "gdk/gdkkeysyms.h"
+
+#undef GTK_DISABLE_DEPRECATED /* GtkOptionMenu */
+
#include "gtkbutton.h"
#include "gtkcellrenderertext.h"
#include "gtkentry.h"
@@ -75,8 +78,6 @@
#include "gtkmessagedialog.h"
#include "gtkdnd.h"
#include "gtkeventbox.h"
-
-#undef GTK_DISABLE_DEPRECATED
#include "gtkoptionmenu.h"
#define WANT_HPANED 1
Modified: trunk/gtk/gtkinputdialog.c
==============================================================================
--- trunk/gtk/gtkinputdialog.c (original)
+++ trunk/gtk/gtkinputdialog.c Tue Jun 17 14:11:26 2008
@@ -28,13 +28,17 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-
#include <config.h>
+
#include <stdlib.h>
+
#include "gdk/gdkkeysyms.h"
+
+#undef GTK_DISABLE_DEPRECATED /* GtkOptionMenu */
+
#include "gtkinputdialog.h"
#include "gtkbutton.h"
#include "gtkentry.h"
@@ -45,14 +49,12 @@
#include "gtkmenu.h"
#include "gtkmenuitem.h"
#include "gtknotebook.h"
+#include "gtkoptionmenu.h"
#include "gtkscrolledwindow.h"
#include "gtkstock.h"
#include "gtktable.h"
#include "gtkvbox.h"
-#undef GTK_DISABLE_DEPRECATED
-#include "gtkoptionmenu.h"
-
#include "gtkintl.h"
#include "gtkalias.h"
Modified: trunk/gtk/gtkmenutoolbutton.c
==============================================================================
--- trunk/gtk/gtkmenutoolbutton.c (original)
+++ trunk/gtk/gtkmenutoolbutton.c Tue Jun 17 14:11:26 2008
@@ -20,8 +20,10 @@
*/
#include <config.h>
+
+#undef GTK_DISABLE_DEPRECATED /* GtkTooltips */
+
#include "gtkmenutoolbutton.h"
-#include "gtkintl.h"
#include "gtktogglebutton.h"
#include "gtkarrow.h"
#include "gtkhbox.h"
@@ -29,6 +31,7 @@
#include "gtkmenu.h"
#include "gtkmain.h"
#include "gtkprivate.h"
+#include "gtkintl.h"
#include "gtkalias.h"
Modified: trunk/gtk/gtkoptionmenu.c
==============================================================================
--- trunk/gtk/gtkoptionmenu.c (original)
+++ trunk/gtk/gtkoptionmenu.c Tue Jun 17 14:11:26 2008
@@ -25,16 +25,17 @@
*/
#include <config.h>
-#include "gtkintl.h"
-#include "gtkmenu.h"
-#include "gtkmenuitem.h"
-#include "gtkmarshalers.h"
+
#include "gdk/gdkkeysyms.h"
#undef GTK_DISABLE_DEPRECATED
-#include "gtkoptionmenu.h"
+#include "gtkmenu.h"
+#include "gtkmenuitem.h"
+#include "gtkmarshalers.h"
+#include "gtkoptionmenu.h"
#include "gtkprivate.h"
+#include "gtkintl.h"
#include "gtkalias.h"
#define CHILD_LEFT_SPACING 4
Modified: trunk/gtk/gtktoolitem.c
==============================================================================
--- trunk/gtk/gtktoolitem.c (original)
+++ trunk/gtk/gtktoolitem.c Tue Jun 17 14:11:26 2008
@@ -21,6 +21,11 @@
*/
#include <config.h>
+
+#include <string.h>
+
+#undef GTK_DISABLE_DEPRECATED /* GtkTooltips */
+
#include "gtktoolitem.h"
#include "gtkmarshalers.h"
#include "gtktoolshell.h"
@@ -30,8 +35,6 @@
#include "gtkprivate.h"
#include "gtkalias.h"
-#include <string.h>
-
/**
* SECTION:gtktoolitem
* @short_description: The base class of widgets that can be added to #GtkToolShell
Modified: trunk/gtk/gtktooltips.c
==============================================================================
--- trunk/gtk/gtktooltips.c (original)
+++ trunk/gtk/gtktooltips.c Tue Jun 17 14:11:26 2008
@@ -25,10 +25,13 @@
*/
#include <config.h>
+
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#undef GTK_DISABLE_DEPRECATED
+
#include "gtklabel.h"
#include "gtkmain.h"
#include "gtkmenuitem.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]