X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-var-sheet-header.c;h=c40b0aa381692099bbd8bb32adcdd7a9bc0489ed;hb=37c21ba9301956091823dea7d84ff0400330bd4b;hp=ad0401e6c8d50894b7f91d3e5904c0477f9d99e4;hpb=656e46ed80e20bf34312f01607a7bebdd2d8d622;p=pspp diff --git a/src/ui/gui/psppire-var-sheet-header.c b/src/ui/gui/psppire-var-sheet-header.c index ad0401e6c8..c40b0aa381 100644 --- a/src/ui/gui/psppire-var-sheet-header.c +++ b/src/ui/gui/psppire-var-sheet-header.c @@ -1,6 +1,5 @@ -/* - 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 @@ -48,7 +47,7 @@ static gpointer gi (GListModel *list, guint position) { GtkWidget *button = gtk_button_new (); - gchar *text = NULL; + const gchar *text = NULL; switch (position) { @@ -91,7 +90,7 @@ gi (GListModel *list, guint position) if (text) gtk_button_set_label (GTK_BUTTON (button), gettext (text)); - + return button; }