diff options
author | Manish Singh <yosh@gimp.org> | 2002-10-05 01:51:16 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2002-10-05 01:51:16 +0000 |
commit | 8409ada92ff408f41c3014ffa6401ce97da0e5ed (patch) | |
tree | 8ad6ffbe5247c05db1fa3231e51b773319499e38 /gtk/gtkmenu.h | |
parent | 2ffa58f11d0fdfdee4859f37dd69bcec21b34e41 (diff) | |
download | gtk+-8409ada92ff408f41c3014ffa6401ce97da0e5ed.tar.gz |
Deprecation cleanup
Fri Oct 4 18:40:50 2002 Manish Singh <yosh@gimp.org>
* gtkcheckmenuitem.[ch] gtkimagemenuitem.[ch] gtkmenu.[ch]
gtkmenubar.[ch] gtkmenuitem.[ch] gtkmenushell.[ch]
gtkradiomenuitem.[ch]: Deprecation cleanup
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r-- | gtk/gtkmenu.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h index 5c1d47d085..1039069957 100644 --- a/gtk/gtkmenu.h +++ b/gtk/gtkmenu.h @@ -38,11 +38,11 @@ extern "C" { #endif /* __cplusplus */ #define GTK_TYPE_MENU (gtk_menu_get_type ()) -#define GTK_MENU(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_MENU, GtkMenu)) -#define GTK_MENU_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU, GtkMenuClass)) -#define GTK_IS_MENU(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_MENU)) -#define GTK_IS_MENU_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU)) -#define GTK_MENU_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_MENU, GtkMenuClass)) +#define GTK_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU, GtkMenu)) +#define GTK_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU, GtkMenuClass)) +#define GTK_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU)) +#define GTK_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU)) +#define GTK_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU, GtkMenuClass)) typedef struct _GtkMenu GtkMenu; @@ -121,7 +121,7 @@ struct _GtkMenuClass }; -GtkType gtk_menu_get_type (void) G_GNUC_CONST; +GType gtk_menu_get_type (void) G_GNUC_CONST; GtkWidget* gtk_menu_new (void); /* Display the menu onscreen */ |