[gnome-control-center] network: Silence compiler warning



commit 0c1ac731ff6893b4b98c665f55eda70567cc8f59
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Sep 9 15:52:21 2013 +0200

    network: Silence compiler warning
    
    Use an explicit typecast from gpointer to const gchar **.

 panels/network/cc-network-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c
index d734810..8936e9f 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -198,7 +198,7 @@ cc_network_panel_set_property (GObject      *object,
                         GPtrArray *array;
                         const gchar **args;
                         array = variant_av_to_string_array (parameters);
-                        args = array->pdata;
+                        args = (const gchar **) array->pdata;
 
                         g_debug ("Invoked with operation %s", args[0]);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]