-/*
- A candidate replacement for Pspp's sheet
- Copyright (C) 2016 John Darrington
+/* PSPPIRE - a graphical user interface for PSPP.
+ Copyright (C) 2016 Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
gi (GListModel *list, guint position)
{
GtkWidget *button = gtk_button_new ();
- gchar *text = NULL;
+ const gchar *text = NULL;
switch (position)
{
if (text)
gtk_button_set_label (GTK_BUTTON (button), gettext (text));
-
+
return button;
}