summaryrefslogtreecommitdiff
path: root/libmateweather/mateweather-enum-types.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-20 19:09:16 +0100
committerinfirit <[email protected]>2015-08-25 10:40:27 +0200
commit6902afa1be1a3fe2955a3756c2cb8c3d2cf9ea4f (patch)
treea0bfc93d09dd498f0697c1e381fa81f81aee0317 /libmateweather/mateweather-enum-types.c
parenta8da23bc71c2b851d96baacd8fc1b7d9fde3c1c4 (diff)
downloadlibmateweather-6902afa1be1a3fe2955a3756c2cb8c3d2cf9ea4f.tar.bz2
libmateweather-6902afa1be1a3fe2955a3756c2cb8c3d2cf9ea4f.tar.xz
libmateweather-enum-types.[c,h]: Fix generation by adding templates
These templates are not in the tarball so never where added to MATE.
Diffstat (limited to 'libmateweather/mateweather-enum-types.c')
-rw-r--r--libmateweather/mateweather-enum-types.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/libmateweather/mateweather-enum-types.c b/libmateweather/mateweather-enum-types.c
deleted file mode 100644
index 731123e..0000000
--- a/libmateweather/mateweather-enum-types.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/* Generated data (by glib-mkenums) */
-
-#define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE
-#include "mateweather-enum-types.h"
-#include "mateweather-location.h"
-/* enumerations from "mateweather-location.h" */
-GType mateweather_location_level_get_type(void)
-{
- static GType etype = 0;
-
- if (G_UNLIKELY(etype == 0))
- {
- static const GEnumValue values[] = {
- {MATEWEATHER_LOCATION_WORLD, "MATEWEATHER_LOCATION_WORLD", "world"},
- {MATEWEATHER_LOCATION_REGION, "MATEWEATHER_LOCATION_REGION", "region"},
- {MATEWEATHER_LOCATION_COUNTRY, "MATEWEATHER_LOCATION_COUNTRY", "country"},
- {MATEWEATHER_LOCATION_ADM1, "MATEWEATHER_LOCATION_ADM1", "adm1"},
- {MATEWEATHER_LOCATION_ADM2, "MATEWEATHER_LOCATION_ADM2", "adm2"},
- {MATEWEATHER_LOCATION_CITY, "MATEWEATHER_LOCATION_CITY", "city"},
- {MATEWEATHER_LOCATION_WEATHER_STATION, "MATEWEATHER_LOCATION_WEATHER_STATION", "weather-station"},
- {0, NULL, NULL}
- };
- etype = g_enum_register_static(g_intern_static_string("MateWeatherLocationLevel"), values);
- }
-
- return etype;
-}
-
-/* Generated data ends here */