summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index 63cd1d21f0..75633764a5 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -231,6 +231,9 @@ gtk_button_set_arg (GtkButton *button,
gtk_container_add (GTK_CONTAINER (button), label);
gtk_container_enable_resize (GTK_CONTAINER (button));
break;
+ default:
+ arg->type = GTK_TYPE_INVALID;
+ break;
}
}