From: John Darrington Date: Sun, 7 May 2017 08:16:38 +0000 (+0200) Subject: PsppireDelimitedText: Declare psppire_delimited_text_new to return a GtkTreeModel... X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e68c7dc4ee34b592d1b4723c311fcc1a94c449e0;p=pspp PsppireDelimitedText: Declare psppire_delimited_text_new to return a GtkTreeModel* instead of PsppireDelimitedText* --- diff --git a/src/ui/gui/psppire-delimited-text.c b/src/ui/gui/psppire-delimited-text.c index 975a7c82f4..fec2f70772 100644 --- a/src/ui/gui/psppire-delimited-text.c +++ b/src/ui/gui/psppire-delimited-text.c @@ -526,7 +526,7 @@ psppire_delimited_text_init (PsppireDelimitedText *text_file) } -PsppireDelimitedText * +GtkTreeModel * psppire_delimited_text_new (GtkTreeModel *child) { PsppireDelimitedText *retval = diff --git a/src/ui/gui/psppire-delimited-text.h b/src/ui/gui/psppire-delimited-text.h index d18570a83f..56ee8f97e5 100644 --- a/src/ui/gui/psppire-delimited-text.h +++ b/src/ui/gui/psppire-delimited-text.h @@ -81,7 +81,7 @@ typedef struct _PsppireDelimitedText PsppireDelimitedText; typedef struct _PsppireDelimitedTextClass PsppireDelimitedTextClass; GType psppire_delimited_text_get_type (void) G_GNUC_CONST; -PsppireDelimitedText *psppire_delimited_text_new (GtkTreeModel *); +GtkTreeModel *psppire_delimited_text_new (GtkTreeModel *); const gchar *psppire_delimited_text_get_header_title (PsppireDelimitedText *file, gint column);