[libchamplain] Free proxy URI with soup_uri_free() instead of g_object_unref()



commit 562a6d65074f76e0e82b9a38349d19a6cddb7f4f
Author: JiÅ?í Techet <techet gmail com>
Date:   Tue May 11 23:57:18 2010 +0200

    Free proxy URI with soup_uri_free() instead of g_object_unref()
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 champlain/champlain-network-tile-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-network-tile-source.c b/champlain/champlain-network-tile-source.c
index cc82831..ff67329 100644
--- a/champlain/champlain-network-tile-source.c
+++ b/champlain/champlain-network-tile-source.c
@@ -398,7 +398,7 @@ champlain_network_tile_source_set_proxy_uri (ChamplainNetworkTileSource *tile_so
                   NULL);
 
   if (uri)
-    g_object_unref (uri);
+    soup_uri_free (uri);
 
   g_object_notify (G_OBJECT (tile_source), "proxy-uri");
 }



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