[glibmm] Minor comments updates.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Minor comments updates.
- Date: Wed, 2 Apr 2014 20:01:45 +0000 (UTC)
commit b48b0b921b19adceed1b4f9d6b37d78250a2abf6
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Apr 2 22:01:37 2014 +0200
Minor comments updates.
gio/src/tlsfiledatabase.hg | 5 -----
glib/src/optioncontext.hg | 2 +-
2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gio/src/tlsfiledatabase.hg b/gio/src/tlsfiledatabase.hg
index 516e211..08650c5 100644
--- a/gio/src/tlsfiledatabase.hg
+++ b/gio/src/tlsfiledatabase.hg
@@ -44,11 +44,6 @@ class TlsFileDatabase
_CLASS_INTERFACE(TlsFileDatabase, GTlsFileDatabase, G_TLS_FILE_DATABASE, GTlsFileDatabaseInterface)
public:
- //TODO: Should this create() method be in TlsDatabase since the _new()
- //function returns a GTlsDatabase?
- // No, it's normal for a G* C API to return a base type, but we correct that in C++.
- // For instance, many GTK+ _new() functions return GtkWidget*. murrayc.
-
//TODO: It is not possible to use _WRAP_CTOR()/WRAP_CREATE() here because this
//class is an interface.
// So, should we make it possible to use them? murrayc.
diff --git a/glib/src/optioncontext.hg b/glib/src/optioncontext.hg
index b159ff2..60c3549 100644
--- a/glib/src/optioncontext.hg
+++ b/glib/src/optioncontext.hg
@@ -108,7 +108,7 @@ public:
#m4 _CONVERSION(`char**&',`gchar***',`&($3)')
_WRAP_METHOD(bool parse(int& argc, char**& argv), g_option_context_parse, errthrow)
- //TODO: Document ths as useful (only?) with the result from g_win32_get_command_line?
+ //TODO: Document this as useful (only?) with the result from g_win32_get_command_line?
//goption.c has example code that suggests always using this, and ifdefing for G_OS_WIN32, with a
g_strdupv for the non-win32 case.
//Presumably we cannot hide that ifdeffing from application code because the argument-removal would be
invisible to the caller.
//So can we hide it for people who don't care about arguments being removed from argv?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]