Re: [MM 0.6] Plumb up the SPN display-rule bits
- From: Aleksander Morgado <aleksander lanedo com>
- To: Nathan Williams <njw google com>
- Cc: networkmanager-list gnome org
- Subject: Re: [MM 0.6] Plumb up the SPN display-rule bits
- Date: Fri, 09 Mar 2012 01:14:28 +0100
On 03/09/2012 12:16 AM, Nathan Williams wrote:
> There's a bit of annoying fighting with gchar ** and gdbus's idea of
> constness, but it seems reasonable otherwise.
Just modify load_spdi_finish() (and parse_spdi()) to return a gchar **
(without any const); and then explicitly cast to (const gchar *const *)
or (gchar *const *) in mm_gdbus_sim_set_spdi():
gchar **val;
val = MM_SIM_GET_CLASS (ctx->self)->load_spdi_finish (self, res, &error);
mm_gdbus_sim_set_spdi (MM_GDBUS_SIM (self), (const gchar *const *)val);
g_strfreev (val);
That should do it.
--
Aleksander
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]