From: John Darrington Date: Mon, 27 Jul 2009 10:58:06 +0000 (+0200) Subject: Removed unused function X-Git-Tag: build37~28 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42710eca56d40ba44bd80e52b42d4883b59291c0;p=pspp-builds.git Removed unused function --- diff --git a/lib/gtk-contrib/psppire-sheet.c b/lib/gtk-contrib/psppire-sheet.c index e09022bb..e9dfdcf8 100644 --- a/lib/gtk-contrib/psppire-sheet.c +++ b/lib/gtk-contrib/psppire-sheet.c @@ -2746,25 +2746,6 @@ psppire_sheet_unselect_range (PsppireSheet *sheet) gdk_window_invalidate_rect (sheet->sheet_window, &area, FALSE); } -static void -psppire_sheet_real_select_range (PsppireSheet *sheet, - const PsppireSheetRange *range) -{ - g_return_if_fail (sheet != NULL); - - if (range == NULL) range = &sheet->range; - - memcpy (&sheet->range, range, sizeof (*range)); - - if (range->row0 < 0 || range->rowi < 0) return; - if (range->col0 < 0 || range->coli < 0) return; - - psppire_sheet_update_primary_selection (sheet); - - g_signal_emit (sheet, sheet_signals[SELECT_RANGE], 0, &sheet->range); -} - - void psppire_sheet_get_selected_range (PsppireSheet *sheet, PsppireSheetRange *range) {