From: John Darrington Date: Sun, 12 Aug 2007 23:18:03 +0000 (+0000) Subject: Deleted unused function. X-Git-Tag: v0.6.0~318 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=255de8df66dde4395a62d7cfc84adf317f435744;p=pspp-builds.git Deleted unused function. --- diff --git a/src/ui/gui/ChangeLog b/src/ui/gui/ChangeLog index 3b4a450b..7e8b703f 100644 --- a/src/ui/gui/ChangeLog +++ b/src/ui/gui/ChangeLog @@ -1,3 +1,8 @@ +2007-08-13 John Darrington + + * psppire-case-file.c (psppire_case_file_append_case): + Deleted unused function. + 2007-08-07 John Darrington * helper.c (execute_syntax): Set the active file data to NULL at the diff --git a/src/ui/gui/psppire-case-file.c b/src/ui/gui/psppire-case-file.c index bb6f8b55..eef28a1f 100644 --- a/src/ui/gui/psppire-case-file.c +++ b/src/ui/gui/psppire-case-file.c @@ -205,30 +205,6 @@ psppire_case_file_insert_case (PsppireCaseFile *cf, } -/* Append a case to the case file */ -static gboolean -psppire_case_file_append_case (PsppireCaseFile *cf, - struct ccase *c) -{ - struct ccase tmp; - bool result ; - gint posn ; - - g_return_val_if_fail (cf, FALSE); - g_return_val_if_fail (cf->datasheet, FALSE); - g_return_val_if_fail (cf->accessible, FALSE); - - posn = datasheet_get_row_cnt (cf->datasheet); - - case_clone (&tmp, c); - result = datasheet_insert_rows (cf->datasheet, posn, &tmp, 1); - - g_signal_emit (cf, signals [CASE_INSERTED], 0, posn); - - return result; -} - - inline casenumber psppire_case_file_get_case_count (const PsppireCaseFile *cf) {