summaryrefslogtreecommitdiff
path: root/gtk/gtktogglebutton.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/gtktogglebutton.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/gtktogglebutton.h')
-rw-r--r--gtk/gtktogglebutton.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtktogglebutton.h b/gtk/gtktogglebutton.h
index dcf5d8df33..5ab74ec5f7 100644
--- a/gtk/gtktogglebutton.h
+++ b/gtk/gtktogglebutton.h
@@ -38,11 +38,11 @@ extern "C" {
#define GTK_TYPE_TOGGLE_BUTTON (gtk_toggle_button_get_type ())
-#define GTK_TOGGLE_BUTTON(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButton))
-#define GTK_TOGGLE_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
-#define GTK_IS_TOGGLE_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON))
-#define GTK_IS_TOGGLE_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON))
-#define GTK_TOGGLE_BUTTON_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
+#define GTK_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButton))
+#define GTK_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
+#define GTK_IS_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON))
+#define GTK_IS_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON))
+#define GTK_TOGGLE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
typedef struct _GtkToggleButton GtkToggleButton;
@@ -71,7 +71,7 @@ struct _GtkToggleButtonClass
};
-GtkType gtk_toggle_button_get_type (void) G_GNUC_CONST;
+GType gtk_toggle_button_get_type (void) G_GNUC_CONST;
GtkWidget* gtk_toggle_button_new (void);
GtkWidget* gtk_toggle_button_new_with_label (const gchar *label);