From d9c6597d5b7a0fb3211d5ba0696b0c9681c776c0 Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@cs.stanford.edu>
Date: Sat, 3 Mar 2012 11:43:39 -0800
Subject: [PATCH] pspp-sheet-view: Make pspp_sheet_view_stop_editing() public.

---
 src/ui/gui/pspp-sheet-view.c | 6 ++----
 src/ui/gui/pspp-sheet-view.h | 5 ++++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/ui/gui/pspp-sheet-view.c b/src/ui/gui/pspp-sheet-view.c
index 0cf10f175c..5ddef9d821 100644
--- a/src/ui/gui/pspp-sheet-view.c
+++ b/src/ui/gui/pspp-sheet-view.c
@@ -397,8 +397,6 @@ static void pspp_sheet_view_real_start_editing (PsppSheetView       *tree_view,
 					      GdkRectangle      *cell_area,
 					      GdkEvent          *event,
 					      guint              flags);
-static void pspp_sheet_view_stop_editing                  (PsppSheetView *tree_view,
-							 gboolean     cancel_editing);
 static gboolean pspp_sheet_view_real_start_interactive_search (PsppSheetView *tree_view,
 							     gboolean     keybinding);
 static gboolean pspp_sheet_view_start_interactive_search      (PsppSheetView *tree_view);
@@ -12070,9 +12068,9 @@ pspp_sheet_view_real_start_editing (PsppSheetView       *tree_view,
     }
 }
 
-static void
+void
 pspp_sheet_view_stop_editing (PsppSheetView *tree_view,
-			    gboolean     cancel_editing)
+                              gboolean     cancel_editing)
 {
   PsppSheetViewColumn *column;
   GtkCellRenderer *cell;
diff --git a/src/ui/gui/pspp-sheet-view.h b/src/ui/gui/pspp-sheet-view.h
index 3df7360e68..a80b5452b4 100644
--- a/src/ui/gui/pspp-sheet-view.h
+++ b/src/ui/gui/pspp-sheet-view.h
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 2011, 2012 Free Software Foundation, Inc.
 
    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
@@ -412,6 +412,9 @@ void          pspp_sheet_view_set_tooltip_column (PsppSheetView       *tree_view
 					        gint               column);
 gint          pspp_sheet_view_get_tooltip_column (PsppSheetView       *tree_view);
 
+void pspp_sheet_view_stop_editing (PsppSheetView *tree_view,
+                                   gboolean     cancel_editing);
+
 G_END_DECLS
 
 
-- 
2.30.2