summaryrefslogtreecommitdiff
path: root/gtk/gtktreeselection.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-07 19:10:39 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-07 19:10:39 +0000
commit55704fc7c1b5429bf8cc7e8100893b01898a9fe8 (patch)
tree10a62005decc56928e7d5730c7f84691796b8a40 /gtk/gtktreeselection.h
parentc1fff202edabc843327c94d35ad5f2da977f9957 (diff)
downloadgdk-pixbuf-55704fc7c1b5429bf8cc7e8100893b01898a9fe8.tar.gz
Deprecation cleanup
Mon Oct 7 11:59:33 2002 Manish Singh <yosh@gimp.org> * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch] gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch] gtk/gtktreestore.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtktreeselection.h')
-rw-r--r--gtk/gtktreeselection.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtktreeselection.h b/gtk/gtktreeselection.h
index be83cdbfc..30b3541a0 100644
--- a/gtk/gtktreeselection.h
+++ b/gtk/gtktreeselection.h
@@ -20,7 +20,7 @@
#ifndef __GTK_TREE_SELECTION_H__
#define __GTK_TREE_SELECTION_H__
-#include <gtk/gtkobject.h>
+#include <glib-object.h>
#include <gtk/gtktreeview.h>
#ifdef __cplusplus
@@ -28,11 +28,11 @@ extern "C" {
#endif /* __cplusplus */
#define GTK_TYPE_TREE_SELECTION (gtk_tree_selection_get_type ())
-#define GTK_TREE_SELECTION(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelection))
-#define GTK_TREE_SELECTION_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_SELECTION, GtkTreeSelectionClass))
-#define GTK_IS_TREE_SELECTION(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TREE_SELECTION))
-#define GTK_IS_TREE_SELECTION_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_SELECTION))
-#define GTK_TREE_SELECTION_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelectionClass))
+#define GTK_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelection))
+#define GTK_TREE_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_SELECTION, GtkTreeSelectionClass))
+#define GTK_IS_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SELECTION))
+#define GTK_IS_TREE_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_SELECTION))
+#define GTK_TREE_SELECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelectionClass))
typedef gboolean (* GtkTreeSelectionFunc) (GtkTreeSelection *selection,
GtkTreeModel *model,
@@ -71,7 +71,7 @@ struct _GtkTreeSelectionClass
};
-GtkType gtk_tree_selection_get_type (void);
+GType gtk_tree_selection_get_type (void);
void gtk_tree_selection_set_mode (GtkTreeSelection *selection,
GtkSelectionMode type);