[libgweather/ebassi/gtk4: 4/14] Ignore internal deprecations




commit 571db6d9b88fd382727877a0b74dece50a274d3f
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Oct 5 17:35:41 2021 +0100

    Ignore internal deprecations
    
    We know we're using deprecated API.

 libgweather/gweather-timezone-menu.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/libgweather/gweather-timezone-menu.c b/libgweather/gweather-timezone-menu.c
index c4559bba..c33e6d23 100644
--- a/libgweather/gweather-timezone-menu.c
+++ b/libgweather/gweather-timezone-menu.c
@@ -234,9 +234,13 @@ insert_locations (GtkTreeStore *store, GWeatherLocation *loc)
     if (gweather_location_get_level (loc) < GWEATHER_LOCATION_COUNTRY) {
        GWeatherLocation **children;
 
+        G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
        children = gweather_location_get_children (loc);
        for (i = 0; children[i]; i++)
            insert_locations (store, children[i]);
+
+        G_GNUC_END_IGNORE_DEPRECATIONS
     } else {
        GWeatherTimezone **zones;
        GtkTreeIter iter;


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