forked from AuroraMiddleware/gtk
Avoid the use of g_autofree
We can't use this in code that may be built on win32, so lets just not use it at all.
This commit is contained in:
parent
3f9bcf3b31
commit
ce801641a7
@ -180,7 +180,7 @@ open_file_msg_cb (GObject *source_object,
|
||||
GtkFileChooserNative *self = data->self;
|
||||
GDBusMessage *reply;
|
||||
GError *error = NULL;
|
||||
g_autofree char *handle = NULL;
|
||||
char *handle = NULL;
|
||||
|
||||
reply = g_dbus_connection_send_message_with_reply_finish (data->connection, res, &error);
|
||||
|
||||
@ -227,6 +227,7 @@ open_file_msg_cb (GObject *source_object,
|
||||
}
|
||||
|
||||
g_object_unref (reply);
|
||||
g_free (handle);
|
||||
}
|
||||
|
||||
static GVariant *
|
||||
|
Loading…
Reference in New Issue
Block a user