summaryrefslogtreecommitdiff
path: root/gtk/gtkaccessible.h
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2002-10-11 22:57:11 +0000
committerManish Singh <yosh@src.gnome.org>2002-10-11 22:57:11 +0000
commitf18d5d35104bf4cb3998dfbee43f056649cb24b2 (patch)
treeb72d6d51180d95a95e43749cc0840b1c52d1becc /gtk/gtkaccessible.h
parenta9b71314ee7e770bd1f9b00c14212190f3ac1427 (diff)
downloadgtk+-f18d5d35104bf4cb3998dfbee43f056649cb24b2.tar.gz
Deprecation cleanup
Fri Oct 11 15:56:20 2002 Manish Singh <yosh@gimp.org> * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch] gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch] gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch] gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkaccessible.h')
-rw-r--r--gtk/gtkaccessible.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkaccessible.h b/gtk/gtkaccessible.h
index 35e4937fbc..0dedcd7981 100644
--- a/gtk/gtkaccessible.h
+++ b/gtk/gtkaccessible.h
@@ -28,11 +28,11 @@ extern "C" {
#endif /* __cplusplus */
#define GTK_TYPE_ACCESSIBLE (gtk_accessible_get_type ())
-#define GTK_ACCESSIBLE(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible))
-#define GTK_ACCESSIBLE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
-#define GTK_IS_ACCESSIBLE(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_ACCESSIBLE))
-#define GTK_IS_ACCESSIBLE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCESSIBLE))
-#define GTK_ACCESSIBLE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
+#define GTK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible))
+#define GTK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
+#define GTK_IS_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACCESSIBLE))
+#define GTK_IS_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCESSIBLE))
+#define GTK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
typedef struct _GtkAccessible GtkAccessible;
typedef struct _GtkAccessibleClass GtkAccessibleClass;
@@ -50,11 +50,8 @@ struct _GtkAccessible
* accessible instance.
*/
GtkWidget *widget;
-
};
-GtkType gtk_accessible_get_type (void);
-
struct _GtkAccessibleClass
{
AtkObjectClass parent_class;
@@ -68,7 +65,10 @@ struct _GtkAccessibleClass
void (*_gtk_reserved4) (void);
};
+GType gtk_accessible_get_type (void);
+
void gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */