mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
Drop local g_autoptr definitions for generated code
Sadly, GLib's autoptr cleanup macros cannot be detected by the C pre-processor, because they generate a function. This means that we are forced to bump up the dependency on GLib 2.49, in order to build against a newer version of gdbus-codegen.
This commit is contained in:
parent
aeda556af1
commit
5f5d8f4091
@ -52,7 +52,7 @@ AC_HEADER_STDC
|
||||
PKG_PROG_PKG_CONFIG([0.21])
|
||||
|
||||
# Sets GLIB_GENMARSHAL and GLIB_MKENUMS
|
||||
AM_PATH_GLIB_2_0()
|
||||
AM_PATH_GLIB_2_0([2.49.0])
|
||||
|
||||
CANBERRA_GTK=libcanberra-gtk3
|
||||
CANBERRA_GTK_VERSION=0.26
|
||||
|
@ -50,13 +50,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevDevice, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevClient, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUdevEnumerator, g_object_unref)
|
||||
|
||||
#ifndef glib_autoptr_cleanup_Login1Session
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(Login1Session, g_object_unref)
|
||||
#endif
|
||||
#ifndef glib_autoptr_cleanup_Login1Seat
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(Login1Seat, g_object_unref)
|
||||
#endif
|
||||
|
||||
struct _MetaLauncher
|
||||
{
|
||||
Login1Session *session_proxy;
|
||||
|
Loading…
Reference in New Issue
Block a user