diff options
Diffstat (limited to 'tests/teststack.c')
-rw-r--r-- | tests/teststack.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/teststack.c b/tests/teststack.c index 571d58fc07..70931fa20f 100644 --- a/tests/teststack.c +++ b/tests/teststack.c @@ -51,8 +51,8 @@ toggle_transitions (GtkWidget *combo, gpointer data) static void on_back_button_clicked (GtkButton *button, gpointer user_data) { - const gchar *seq[] = { "1", "2", "3" }; - const gchar *vis; + const char *seq[] = { "1", "2", "3" }; + const char *vis; int i; vis = gtk_stack_get_visible_child_name (GTK_STACK (stack)); @@ -70,8 +70,8 @@ on_back_button_clicked (GtkButton *button, gpointer user_data) static void on_forward_button_clicked (GtkButton *button, gpointer user_data) { - const gchar *seq[] = { "1", "2", "3" }; - const gchar *vis; + const char *seq[] = { "1", "2", "3" }; + const char *vis; int i; vis = gtk_stack_get_visible_child_name (GTK_STACK (stack)); @@ -89,7 +89,7 @@ on_forward_button_clicked (GtkButton *button, gpointer user_data) static void update_back_button_sensitivity (GtkStack *_stack, GParamSpec *pspec, GtkWidget *button) { - const gchar *vis; + const char *vis; vis = gtk_stack_get_visible_child_name (GTK_STACK (stack)); gtk_widget_set_sensitive (button, g_strcmp0 (vis, "1") != 0); @@ -98,7 +98,7 @@ update_back_button_sensitivity (GtkStack *_stack, GParamSpec *pspec, GtkWidget * static void update_forward_button_sensitivity (GtkStack *_stack, GParamSpec *pspec, GtkWidget *button) { - const gchar *vis; + const char *vis; vis = gtk_stack_get_visible_child_name (GTK_STACK (stack)); gtk_widget_set_sensitive (button, g_strcmp0 (vis, "3") != 0); @@ -106,7 +106,7 @@ update_forward_button_sensitivity (GtkStack *_stack, GParamSpec *pspec, GtkWidge int main (int argc, - gchar ** argv) + char ** argv) { GtkWidget *window, *box, *button, *hbox, *combo, *layout; GtkWidget *w2, *w3; |