summaryrefslogtreecommitdiff
path: root/gtk/gtktree.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktree.h')
-rw-r--r--gtk/gtktree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktree.h b/gtk/gtktree.h
index 9ddb5e9c69..699d93a601 100644
--- a/gtk/gtktree.h
+++ b/gtk/gtktree.h
@@ -44,6 +44,8 @@ extern "C" {
#define GTK_TREE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE, GtkTreeClass))
#define GTK_IS_TREE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TREE))
#define GTK_IS_TREE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE))
+#define GTK_TREE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_TREE, GtkTreeClass))
+
#define GTK_IS_ROOT_TREE(obj) ((GtkObject*) GTK_TREE(obj)->root_tree == (GtkObject*)obj)
#define GTK_TREE_ROOT_TREE(obj) (GTK_TREE(obj)->root_tree ? GTK_TREE(obj)->root_tree : GTK_TREE(obj))