Fixup for the previous commit
e-d-s has added an autoptr type for only one of the two types we use from e-d-s. Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/73
This commit is contained in:
+1
-2
@@ -35,11 +35,10 @@
|
|||||||
#define gcal_clear_timeout(pp) { if (pp && *pp) { g_source_remove (*pp); *pp = 0; } }
|
#define gcal_clear_timeout(pp) { if (pp && *pp) { g_source_remove (*pp); *pp = 0; } }
|
||||||
|
|
||||||
#if !EDS_CHECK_VERSION (3, 31, 90)
|
#if !EDS_CHECK_VERSION (3, 31, 90)
|
||||||
/* Add autoptr support for libecal */
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECalComponent, g_object_unref)
|
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ESource, g_object_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ESource, g_object_unref)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECalComponent, g_object_unref)
|
||||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GWeatherLocation, gweather_location_unref)
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GWeatherLocation, gweather_location_unref)
|
||||||
|
|
||||||
GType icaltime_get_type (void) G_GNUC_CONST;
|
GType icaltime_get_type (void) G_GNUC_CONST;
|
||||||
|
|||||||
Reference in New Issue
Block a user