diff options
author | Mike Kestner <mkestner@speakeasy.net> | 2002-01-09 06:52:19 +0000 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2002-01-09 06:52:19 +0000 |
commit | 8ccfa3edb95ed3fb5d0ba4f3c0a46e8c729a768e (patch) | |
tree | 1a92c28656983414153f6c78f70bf36fef93d562 /gtk/gtktreemodel.h | |
parent | 3d818fe5c8b85f703023574442093d00c54ed07b (diff) | |
download | gtk+-8ccfa3edb95ed3fb5d0ba4f3c0a46e8c729a768e.tar.gz |
Use G_TYPE_INSTANCE_GET_INTERFACE. ditto. ditto. ditto. Don't reference
2002-01-08 Mike Kestner <mkestner@speakeasy.net>
* gtk/gtkcelleditable.h : Use G_TYPE_INSTANCE_GET_INTERFACE.
* gtk/gtktreednd.h : ditto.
* gtk/gtktreemodel.h : ditto.
* gtk/gtktreesortable.h : ditto.
* gtk/gtkwidget.h : Don't reference incomplete _GdkRectangle type.
Diffstat (limited to 'gtk/gtktreemodel.h')
-rw-r--r-- | gtk/gtktreemodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktreemodel.h b/gtk/gtktreemodel.h index 3182b519ea..6461e72b11 100644 --- a/gtk/gtktreemodel.h +++ b/gtk/gtktreemodel.h @@ -29,7 +29,7 @@ extern "C" { #define GTK_TYPE_TREE_MODEL (gtk_tree_model_get_type ()) #define GTK_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModel)) #define GTK_IS_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL)) -#define GTK_TREE_MODEL_GET_IFACE(obj) ((GtkTreeModelIface *)g_type_interface_peek (((GTypeInstance *)GTK_TREE_MODEL (obj))->g_class, GTK_TYPE_TREE_MODEL)) +#define GTK_TREE_MODEL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface)) typedef struct _GtkTreeIter GtkTreeIter; typedef struct _GtkTreePath GtkTreePath; |