summaryrefslogtreecommitdiff
path: root/gtk/gtkobject.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-06-18 07:00:46 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-06-18 07:00:46 +0000
commit73800758fd3914e182da139e58364d36d9bf7ed4 (patch)
tree56003a626f422176513e9e57f2aa971c1f03033d /gtk/gtkobject.c
parent78c88e77d6c284e063e8a9ee7ea7c974b14f05dd (diff)
downloadgtk+-73800758fd3914e182da139e58364d36d9bf7ed4.tar.gz
deprecate gtk_type_class().
2008-06-18 Michael Natterer <mitch@imendio.com> * gtk/gtktypeutils.[ch]: deprecate gtk_type_class(). * gtk/gtk.symbols: changed accordingly. * gtk/gtksettings.c (gtk_settings_install_property) (gtk_settings_install_property_parser): get rid of using gtk_type_class() by keeping a static reference to GtkSettingsClass around in both functions and passing that pointer on to settings_install_property_parser(). * tests/testgtk.c: use g_type_class_ref()/unref() instead of gtk_type_class(). * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including gtktypeutils.h. svn path=/trunk/; revision=20444
Diffstat (limited to 'gtk/gtkobject.c')
-rw-r--r--gtk/gtkobject.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkobject.c b/gtk/gtkobject.c
index d5a185176e..c83242955d 100644
--- a/gtk/gtkobject.c
+++ b/gtk/gtkobject.c
@@ -25,13 +25,19 @@
*/
#include <config.h>
+
#include <stdarg.h>
#include <string.h>
#include <stdio.h>
+
+#undef GTK_DISABLE_DEPRECATED
+
#include "gtkobject.h"
#include "gtkintl.h"
#include "gtkmarshalers.h"
#include "gtkprivate.h"
+
+#define GTK_DISABLE_DEPRECATED
#include "gtkalias.h"