Removed unused function
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 27 Jul 2009 10:58:06 +0000 (12:58 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 27 Jul 2009 10:58:06 +0000 (12:58 +0200)
lib/gtk-contrib/psppire-sheet.c

index e09022bb3d4adbc352b03faea8d514263e6bec95..e9dfdcf87c8403e0f0c158a767d17c8490835bc1 100644 (file)
@@ -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)
 {