chiark / gitweb /
Rearrange window layout and UI structure
[disorder] / disobedience / login.c
index edefe29cd36b329b311333b4effdfaeaf7635656..f5ef0534f419d995ec6f3b03ebde0fb5bcc17d40 100644 (file)
@@ -170,16 +170,18 @@ static void login_cancel(GtkButton attribute((unused)) *button,
 }
 
 /* Buttons that appear at the bottom of the window */
-static const struct button buttons[] = {
+static struct button buttons[] = {
   {
     "Login",
     login_ok,
     "(Re-)connect using these settings",
+    0
   },
   {
     GTK_STOCK_CLOSE,
     login_cancel,
-    "Discard changes and close window"
+    "Discard changes and close window",
+    0
   },
 };