* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include <config.h>
+#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 "gtksignal.h"
#include "gtkprivate.h"
+
#include "gtkalias.h"
};
-extern void gtk_object_init_type (void); /* for gtktypeutils.h */
static void gtk_object_base_class_init (GtkObjectClass *class);
static void gtk_object_base_class_finalize (GtkObjectClass *class);
static void gtk_object_class_init (GtkObjectClass *klass);
if (!object_type)
{
- static const GTypeInfo object_info =
+ const GTypeInfo object_info =
{
sizeof (GtkObjectClass),
(GBaseInitFunc) gtk_object_base_class_init,
void
gtk_object_add_arg_type (const gchar *arg_name,
- GtkType arg_type,
+ GType arg_type,
guint arg_flags,
guint arg_id)
{
struct _GtkWeakRef
{
- GtkWeakRef *next;
- GtkDestroyNotify notify;
- gpointer data;
+ GtkWeakRef *next;
+ GDestroyNotify notify;
+ gpointer data;
};
void
-gtk_object_weakref (GtkObject *object,
- GtkDestroyNotify notify,
- gpointer data)
+gtk_object_weakref (GtkObject *object,
+ GDestroyNotify notify,
+ gpointer data)
{
GtkWeakRef *weak;
}
void
-gtk_object_weakunref (GtkObject *object,
- GtkDestroyNotify notify,
- gpointer data)
+gtk_object_weakunref (GtkObject *object,
+ GDestroyNotify notify,
+ gpointer data)
{
GtkWeakRef *weaks, *w, **wp;
}
GtkObject*
-gtk_object_new (GtkType object_type,
+gtk_object_new (GType object_type,
const gchar *first_property_name,
...)
{
}
void
-gtk_object_set_data_by_id_full (GtkObject *object,
- GQuark data_id,
- gpointer data,
- GtkDestroyNotify destroy)
+gtk_object_set_data_by_id_full (GtkObject *object,
+ GQuark data_id,
+ gpointer data,
+ GDestroyNotify destroy)
{
g_return_if_fail (GTK_IS_OBJECT (object));
}
void
-gtk_object_set_data_full (GtkObject *object,
- const gchar *key,
- gpointer data,
- GtkDestroyNotify destroy)
+gtk_object_set_data_full (GtkObject *object,
+ const gchar *key,
+ gpointer data,
+ GDestroyNotify destroy)
{
g_return_if_fail (GTK_IS_OBJECT (object));
g_return_if_fail (key != NULL);