projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevent crash when attempting to insert cases when dictionary is empty.
[pspp-builds.git]
/
src
/
ui
/
gui
/
customentry.c
diff --git
a/src/ui/gui/customentry.c
b/src/ui/gui/customentry.c
index b2c25aa395c240ed1b276e518de5092a1a05a489..f7192fe1867486c5e68a40aaa5ce9aa38f78f4e6 100644
(file)
--- a/
src/ui/gui/customentry.c
+++ b/
src/ui/gui/customentry.c
@@
-1,10
+1,9
@@
-/*
- PSPPIRE --- A Graphical User Interface for PSPP
+/* PSPPIRE - a graphical user interface for PSPP.
Copyright (C) 2005 Free Software Foundation
Copyright (C) 2005 Free Software Foundation
- This program is free software
;
you can redistribute it and/or modify
+ 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
it under the terms of the GNU General Public License as published by
- the Free Software Foundation
; either version 2
of the License, or
+ the Free Software Foundation
, either version 3
of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@
-13,10
+12,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, USA.
-*/
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/*
This widget is a subclass of GtkEntry. It's an entry widget with a
/*
This widget is a subclass of GtkEntry. It's an entry widget with a
@@
-45,11
+41,11
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see
+ * <http://www.gnu.org/licenses/>.
*/
*/
+
/*
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
/*
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
@@
-256,7
+252,7
@@
static gint
psppire_custom_entry_expose (GtkWidget *widget,
GdkEventExpose *event)
{
psppire_custom_entry_expose (GtkWidget *widget,
GdkEventExpose *event)
{
- PsppireCustomEntry *ce = PSPPIRE_CUSTOM_ENTRY(widget);
+ PsppireCustomEntry *ce = PSPPIRE_CUSTOM_ENTRY
(widget);
g_return_val_if_fail (PSPPIRE_IS_CUSTOM_ENTRY (widget), FALSE);
g_return_val_if_fail (event != NULL, FALSE);
g_return_val_if_fail (PSPPIRE_IS_CUSTOM_ENTRY (widget), FALSE);
g_return_val_if_fail (event != NULL, FALSE);
@@
-342,7
+338,7
@@
psppire_custom_entry_class_init (PsppireCustomEntryClass *klass)
custom_entry_signals[CLICKED] =
g_signal_new ("clicked",
custom_entry_signals[CLICKED] =
g_signal_new ("clicked",
- G_TYPE_FROM_CLASS(gobject_class),
+ G_TYPE_FROM_CLASS
(gobject_class),
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,