summaryrefslogtreecommitdiff
path: root/gtk/gtktogglebutton.h
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-06-16 05:20:05 +0000
committerTim Janik <timj@src.gnome.org>1998-06-16 05:20:05 +0000
commit742d01908f754f9473e6a7993276c3aee060d1ec (patch)
treebfeef446f36bd92a51a6fa3ccd671ec706b0b9c4 /gtk/gtktogglebutton.h
parentd36df18dee814c690fd5736729ea54175b3be628 (diff)
downloadgtk+-742d01908f754f9473e6a7993276c3aee060d1ec.tar.gz
boy! did i really modify that many files?
anyways, here go the child args and a lot of cleanups ;) you wouldn't want me to put the ChangeLog entry in here, would you?
Diffstat (limited to 'gtk/gtktogglebutton.h')
-rw-r--r--gtk/gtktogglebutton.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtktogglebutton.h b/gtk/gtktogglebutton.h
index 424047eece..56dd1c3630 100644
--- a/gtk/gtktogglebutton.h
+++ b/gtk/gtktogglebutton.h
@@ -29,9 +29,11 @@ extern "C" {
#endif /* __cplusplus */
-#define GTK_TOGGLE_BUTTON(obj) GTK_CHECK_CAST (obj, gtk_toggle_button_get_type (), GtkToggleButton)
-#define GTK_TOGGLE_BUTTON_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_toggle_button_get_type (), GtkToggleButtonClass)
-#define GTK_IS_TOGGLE_BUTTON(obj) GTK_CHECK_TYPE (obj, gtk_toggle_button_get_type ())
+#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))
typedef struct _GtkToggleButton GtkToggleButton;
@@ -53,7 +55,7 @@ struct _GtkToggleButtonClass
};
-guint gtk_toggle_button_get_type (void);
+GtkType gtk_toggle_button_get_type (void);
GtkWidget* gtk_toggle_button_new (void);
GtkWidget* gtk_toggle_button_new_with_label (const gchar *label);
void gtk_toggle_button_set_mode (GtkToggleButton *toggle_button,