PsppireEncodingSelector: Add comment
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 30 Aug 2015 11:14:25 +0000 (13:14 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 30 Aug 2015 15:31:14 +0000 (17:31 +0200)
src/ui/gui/psppire-encoding-selector.c
src/ui/gui/psppire-encoding-selector.h

index 82677d8f59005660190be372b593f52bdf0327d2..5b2d082b10a8a444b96776a3573b6742c183bfcb 100644 (file)
@@ -183,6 +183,10 @@ psppire_encoding_selector_new (const char *default_encoding,
   return hbox;
 }
 
+/* 
+   Return a string describing the currently selected encoding. 
+   The caller should free this string when no longer required.
+*/
 gchar *
 psppire_encoding_selector_get_encoding (GtkWidget *selector)
 {
index 107f871348a357b740963c42a9b90d931460998e..adf359f6970edc220875c0cb030349110a9cdf73 100644 (file)
 
 GtkWidget *psppire_encoding_selector_new (const char *default_encoding,
                                           gboolean allow_auto);
+
+/* 
+   Return a string describing the currently selected encoding. 
+   The caller should free this string when no longer required.
+*/
 gchar *psppire_encoding_selector_get_encoding (GtkWidget *selector);
 
 #endif /* PSPPIRE_ENCODING_SELECTOR_H */