[libgweather] gweather-location.h: Add deprecation guards for gweather_location_free_children()



commit bbc42d8607e317cc6e655710926c9bca16fd940b
Author: Javier JardÃn <jjardon gnome org>
Date:   Fri Oct 7 22:33:44 2011 +0100

    gweather-location.h: Add deprecation guards for gweather_location_free_children()

 libgweather/gweather-location.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgweather/gweather-location.h b/libgweather/gweather-location.h
index 012f95b..9d4ab47 100644
--- a/libgweather/gweather-location.h
+++ b/libgweather/gweather-location.h
@@ -58,8 +58,10 @@ GWeatherLocationLevel  gweather_location_get_level      (GWeatherLocation  *loc)
 GWeatherLocation      *gweather_location_get_parent     (GWeatherLocation  *loc);
 
 GWeatherLocation     **gweather_location_get_children   (GWeatherLocation  *loc);
+#ifndef GWEATHER_DISABLE_DEPRECATED
 void                   gweather_location_free_children  (GWeatherLocation  *loc,
 							 GWeatherLocation **children);
+#endif
 
 gboolean               gweather_location_has_coords     (GWeatherLocation  *loc);
 void                   gweather_location_get_coords     (GWeatherLocation  *loc,



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