diff options
author | Christian Hergert <chergert@redhat.com> | 2019-05-30 19:13:37 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2019-06-17 16:13:53 -0700 |
commit | 273c00f6209c226671bd6effbb164896f6df408a (patch) | |
tree | 7fe0d306303b4e9337ff813f5ac10e3af3ebb270 /gio/gfilenamecompleter.c | |
parent | 2a4b5caac2a909425a5e806c09097c67128320e9 (diff) | |
download | glib-273c00f6209c226671bd6effbb164896f6df408a.tar.gz |
gio: ensure default va_marshaller is used
If c_marshaller is provided during g_signal_new() registration, the
automatic va_marshaller will not be set. If we leave the c_marshaller as
NULL in the simple cases, both a c_marshaller and va_marshaller will be
set for us.
This is particularly helpful when dealing with stack traces from Linux
perf, which often cannot unwind the stack beyond the ffi_call_unix64
stack-frame on x86_64.
Related to GNOME/Initiatives#10
Diffstat (limited to 'gio/gfilenamecompleter.c')
-rw-r--r-- | gio/gfilenamecompleter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gfilenamecompleter.c b/gio/gfilenamecompleter.c index 2550fecec..5883b8004 100644 --- a/gio/gfilenamecompleter.c +++ b/gio/gfilenamecompleter.c @@ -105,7 +105,7 @@ g_filename_completer_class_init (GFilenameCompleterClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GFilenameCompleterClass, got_completion_data), NULL, NULL, - g_cclosure_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); } |