Remove call to property which no longer exists
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 6 Apr 2017 06:48:44 +0000 (08:48 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 6 Apr 2017 06:48:44 +0000 (08:48 +0200)
src/ui/gui/psppire-data-editor.c

index 2574cb354824655d1ec9a1d3de40aca92635feb3..a8bc44bb69d19e60c0eaacbeae5b1394486e1e4e 100644 (file)
@@ -952,13 +952,9 @@ psppire_data_editor_init (PsppireDataEditor *de)
   g_signal_connect (de->data_sheet, "selection-changed",
                    G_CALLBACK (set_menu_items_sensitivity), de);
 
-  /* FIXME:  The following two statements do basically the same thing.
-     Do we need both? */
-  g_object_set (de->data_sheet, "export-function",
-               psppire_data_store_value_to_string, NULL);
-
   jmd_sheet_set_conversion_func (JMD_SHEET (de->data_sheet),
-                                psppire_data_store_value_to_string, myreversefunc);
+                                psppire_data_store_value_to_string,
+                                myreversefunc);
 
   GtkWidget *data_button = jmd_sheet_get_button (JMD_SHEET (de->data_sheet));
   gtk_button_set_label (GTK_BUTTON (data_button), _("Case"));