diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gio/src/application.hg | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -1,5 +1,12 @@ 2011-08-03 Murray Cumming <murrayc@murrayc.com> + giomm: Application: local_command_line_vfunc(): Use references for parameters. + + * gio/src/application.hg: Use references instead of pointers, now that + we know how these paramters are actually used. See bug #643478. + +2011-08-03 Murray Cumming <murrayc@murrayc.com> + Add back Gio::Application and friends so we can try to finish them. * gio/src/actiongroup.[hg|ccg]: diff --git a/gio/src/application.hg b/gio/src/application.hg index 75595255..571042ec 100644 --- a/gio/src/application.hg +++ b/gio/src/application.hg @@ -190,9 +190,9 @@ protected: _POP() #m4end - //TODO: Change the parameter types when we know how they are really used. - //See https://bugzilla.gnome.org/show_bug.cgi?id=643478 - _WRAP_VFUNC(bool local_command_line(gchar*** arguments, int* exit_status), local_command_line) +#m4 _CONVERSION(`char**&', `gchar***',`&($3)') +#m4 _CONVERSION(`gchar***', `char**&',`*($3)') + _WRAP_VFUNC(bool local_command_line(char**& arguments, int& exit_status), local_command_line) /* TODO: void (* before_emit) (GApplication *application, |