diff options
author | Manish Singh <yosh@gimp.org> | 2002-10-11 22:57:11 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2002-10-11 22:57:11 +0000 |
commit | f18d5d35104bf4cb3998dfbee43f056649cb24b2 (patch) | |
tree | b72d6d51180d95a95e43749cc0840b1c52d1becc /gtk/gtkbutton.h | |
parent | a9b71314ee7e770bd1f9b00c14212190f3ac1427 (diff) | |
download | gtk+-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/gtkbutton.h')
-rw-r--r-- | gtk/gtkbutton.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h index acdb05e255..f3500c3f2a 100644 --- a/gtk/gtkbutton.h +++ b/gtk/gtkbutton.h @@ -38,11 +38,11 @@ extern "C" { #endif /* __cplusplus */ #define GTK_TYPE_BUTTON (gtk_button_get_type ()) -#define GTK_BUTTON(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_BUTTON, GtkButton)) -#define GTK_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON, GtkButtonClass)) -#define GTK_IS_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_BUTTON)) -#define GTK_IS_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON)) -#define GTK_BUTTON_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_BUTTON, GtkButtonClass)) +#define GTK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUTTON, GtkButton)) +#define GTK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON, GtkButtonClass)) +#define GTK_IS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUTTON)) +#define GTK_IS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON)) +#define GTK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUTTON, GtkButtonClass)) typedef struct _GtkButton GtkButton; @@ -87,7 +87,7 @@ struct _GtkButtonClass }; -GtkType gtk_button_get_type (void) G_GNUC_CONST; +GType gtk_button_get_type (void) G_GNUC_CONST; GtkWidget* gtk_button_new (void); GtkWidget* gtk_button_new_with_label (const gchar *label); GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); |