]> Pileus Git - ~andy/gtk/commitdiff
Makefile.am add GTK_DISABLE_DEPRECATED to CFLAGS.
authorMichael Natterer <mitch@imendio.com>
Tue, 9 Dec 2008 14:51:16 +0000 (14:51 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 9 Dec 2008 14:51:16 +0000 (14:51 +0000)
2008-12-09  Michael Natterer  <mitch@imendio.com>

* Makefile.am
* tests/Makefile.am: add GTK_DISABLE_DEPRECATED to CFLAGS.

* gail.c
* gailclist.c
* gailclistcell.c
* gailcombo.c
* gaillist.c
* gailmenu.c
* gailoptionmenu.c
* gailpixmap.c
* gailprogressbar.c
* gailtoplevel.c
* gailwidget.c
* gailwindow.c
* tests/ferret.c
* tests/testcombo.c
* tests/testlib.h

* tests/testoptionmenu.c: #undef it where we need to access
deprecated cruft.

svn path=/trunk/; revision=21859

19 files changed:
modules/other/gail/ChangeLog
modules/other/gail/Makefile.am
modules/other/gail/gail.c
modules/other/gail/gailclist.c
modules/other/gail/gailclistcell.c
modules/other/gail/gailcombo.c
modules/other/gail/gaillist.c
modules/other/gail/gailmenu.c
modules/other/gail/gailoptionmenu.c
modules/other/gail/gailpixmap.c
modules/other/gail/gailprogressbar.c
modules/other/gail/gailtoplevel.c
modules/other/gail/gailwidget.c
modules/other/gail/gailwindow.c
modules/other/gail/tests/Makefile.am
modules/other/gail/tests/ferret.c
modules/other/gail/tests/testcombo.c
modules/other/gail/tests/testlib.h
modules/other/gail/tests/testoptionmenu.c

index 46d885ea6c4743d239034e6dc04608a032ec7e20..8ac72bd185952f5d299e5e4bff199b3cfe76f833 100644 (file)
@@ -1,3 +1,27 @@
+2008-12-09  Michael Natterer  <mitch@imendio.com>
+
+       * Makefile.am
+       * tests/Makefile.am: add GTK_DISABLE_DEPRECATED to CFLAGS.
+
+       * gail.c
+       * gailclist.c
+       * gailclistcell.c
+       * gailcombo.c
+       * gaillist.c
+       * gailmenu.c
+       * gailoptionmenu.c
+       * gailpixmap.c
+       * gailprogressbar.c
+       * gailtoplevel.c
+       * gailwidget.c
+       * gailwindow.c
+       * tests/ferret.c
+       * tests/testcombo.c
+       * tests/testlib.h
+
+       * tests/testoptionmenu.c: #undef it where we need to access
+       deprecated cruft.
+
 2008-12-09  Michael Natterer  <mitch@imendio.com>
 
        * gailtreeview.c: undeprecate.
index 00a18fc0ab0caf32f9fadcbd97f000fbb68ebe24..ea88fc0725d9a93accd283a9d727123f0b7c193b 100644 (file)
@@ -146,6 +146,7 @@ libgail_la_CPPFLAGS = \
        -I$(top_builddir)/gtk           \
        -DGTK_VERSION=\"$(GTK_VERSION)\"\
        -DGDK_DISABLE_DEPRECATED        \
+       -DGTK_DISABLE_DEPRECATED        \
        $(AM_CPPFLAGS)
 
 libgail_la_CFLAGS = \
index ac27f0ba3578c2b0377c5df46450adab9f197c52..8964390c4e0b1e1bbc60322e0950c89768e4eba9 100644 (file)
@@ -21,7 +21,9 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <atk/atk.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include "gail.h"
 #include "gailfactory.h"
index 87bae77e053050bbab85a069cd1dde0c9116734f..6a68ffe8aa0dd2d9ee0a9a5742f35ec59e84fca0 100644 (file)
 
 #include "config.h"
 
-#include <gtk/gtk.h>
 #include <stdio.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
+#include <gtk/gtk.h>
 #include "gailclist.h"
 #include "gailclistcell.h"
 #include "gailcellparent.h"
index 2eef9f39dedf7d7257a36c4a641023e94e0b0f31..b683fa70e9ed0d823268f4d0eeae17dfe088f6f0 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "config.h"
 
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include "gailclistcell.h"
 
index ef92b856e7883f78dd4c2cbbea86522ccfffdbd9..6e3ac15978201791ed1198dbb6e3610750759b5b 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "config.h"
 
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include "gailcombo.h"
 
index e34cfb85515dba686abb4362ab3546e8545b2ade..baa5a6649a4683bc78e6f88f081932ff690d857d 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "config.h"
 
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include "gaillist.h"
 #include "gailcombo.h"
index 782b07294e648e2d54bd2e6e90dfc2a6fe161288..0a928c4cc4b4f6bf09f00eace5c15629b396edf6 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "config.h"
 
+#undef GTK_DISABLE_DEPRECATED
+
 #include "gailmenu.h"
 
 static void gail_menu_class_init (GailMenuClass *klass);
index 6bbd0b3ad5adde867163826025be7d2c48a71a81..07d588c55a52572c95ed29ba0b0ddf80b504bf8e 100644 (file)
 #include "config.h"
 
 #include <string.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
+
 #include "gailoptionmenu.h"
 
 static void                  gail_option_menu_class_init       (GailOptionMenuClass *klass);
index 99b0b9f2f3764b91460d12e6d422b71fc904eaee..0e9c926aa72d00b39aa0e25ebf7d3d39da4a0d8c 100644 (file)
 
 #include "config.h"
 
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
+
 #include "gailpixmap.h"
 
 static void     gail_pixmap_class_init         (GailPixmapClass *klass);
index cc615b8b0103a23feb0e0485d6237a4f1692d15e..31dd7ada4d96713c0c9be46fbd7c6c8cfdfc89ed 100644 (file)
 #include "config.h"
 
 #include <string.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
+
 #include "gailprogressbar.h"
 #include "gailadjustment.h"
 
index 896382fc3424e74850eacc202cf794629c87614b..c8ac91901140c82868be2806e76da4e102ffad44 100644 (file)
 
 #include <stdlib.h>
 #include <string.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
+
 #include "gailtoplevel.h"
 
 static void             gail_toplevel_class_init        (GailToplevelClass      *klass);
index 0469b9311edfdb8e892b5f2a4365d6be702b0875..3d0eed88b10b421074ae4490699390c4870a5fd5 100644 (file)
@@ -20,6 +20,9 @@
 #include "config.h"
 
 #include <string.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
 #ifdef GDK_WINDOWING_X11
 #include <gdk/x11/gdkx.h>
index 6b8fdbc6bf7d6490d0a004a68542130383fda6fb..7b4ef4f955d8e3e11b0691baaa1f6e1d4d436b47 100644 (file)
 #include "config.h"
 
 #include <string.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
+
 #include "gailwindow.h"
 #include "gailtoplevel.h"
 #include "gail-private-macros.h"
index f383037bb79bfd810231a6431e8b494157847c68..8e6a5d5b12258f1618d15210628751dae3c5338b 100644 (file)
@@ -38,7 +38,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gdk   \
        -I$(top_srcdir)/gtk     \
        -I$(top_builddir)/gtk   \
-       -DGDK_DISABLE_DEPRECATED
+       -DGDK_DISABLE_DEPRECATED\
+       -DGTK_DISABLE_DEPRECATED
 
 AM_CFLAGS = \
        $(GTK_DEP_CFLAGS)       \
index 39094e3be09873c6186df384f81a6669b2eb0993..14281deb218a535d7b0c338ac83363794ed4aa1d 100644 (file)
@@ -1,8 +1,11 @@
 #define MAX_BUFFER 256
+#undef GTK_DISABLE_DEPRECATED
 #define GTK_ENABLE_BROKEN
 #define MAX_GROUPS 20
 #define MAX_NAME_VALUE 20
 
+#include "config.h"
+
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
@@ -11,8 +14,8 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <strings.h>
+
 #include "testlib.h"
-#include "config.h"
 
 typedef enum
 {
@@ -1856,7 +1859,7 @@ _get_group(TabInfo *tab, GroupId group_id, const gchar *groupname)
        if (group->is_scrolled)
          {
            group->frame = gtk_scrolled_window_new (NULL, NULL);
-           gtk_widget_set_usize(GTK_WIDGET(group->frame), -2,
+           gtk_widget_set_size_request (GTK_WIDGET (group->frame), -2,
              group->default_height);
            group->scroll_outer_frame = GTK_FRAME(gtk_frame_new(groupname));
            gtk_container_add(GTK_CONTAINER(group->scroll_outer_frame),
index 60f84a92410c60e4eddfffc962818b5641f100ba..7291fa0c998adae3d578f425777cc399c12f6880 100644 (file)
@@ -1,5 +1,7 @@
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
-#include <testlib.h>
+#include "testlib.h"
 
 static void _test_selection (AtkObject *obj);
 static void _check_combo_box (AtkObject *obj);
index 7118bbf593194ef99bb43fd0ba28e1cf0a18e23b..621a9e5a9cd6eb1c8125c37e30045c7329ef1a55 100644 (file)
@@ -1,5 +1,5 @@
-#include <gtk/gtk.h>
 #include <stdio.h>
+#include <gtk/gtk.h>
 
 /* Maximum characters in the output buffer */
 #define MAX_LINE_SIZE   1000
index feb6444909ab75c15e1e173046e94c6b122bc9f7..6c1de3925a8362afe0bde1ea4ec56686b6f15147 100644 (file)
@@ -1,4 +1,7 @@
+#undef GTK_DISABLE_DEPRECATED
+
 #include <gtk/gtk.h>
+
 #include "testlib.h"
 
 /*