pspp-sheet-view: Make pspp_sheet_view_stop_editing() public.
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 3 Mar 2012 19:43:39 +0000 (11:43 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 25 Apr 2012 05:41:42 +0000 (22:41 -0700)
src/ui/gui/pspp-sheet-view.c
src/ui/gui/pspp-sheet-view.h

index 0cf10f175c364590b5732a61aa6ac72d1eed2a30..5ddef9d821ed4de39ea16b56a780413d5c62e59b 100644 (file)
@@ -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;
index 3df7360e68f7a507b058ba8fd7b093b34cfea460..a80b5452b4ab8622b527f43ab5a6162b1543a6fe 100644 (file)
@@ -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