Fix registration of profiler DBus api

This commit is contained in:
Matthias Clasen
2019-05-14 11:59:02 +00:00
parent ebc6bd834b
commit c009611401

View File

@@ -689,7 +689,8 @@ gtk_application_dbus_register (GApplication *application,
const char *obect_path,
GError **error)
{
GtkApplicationImplDBus *dbus = (GtkApplicationImplDBus *) application;
GtkApplicationPrivate *priv = gtk_application_get_instance_private (application);
GtkApplicationImplDBus *dbus = (GtkApplicationImplDBus *) priv->impl;
GDBusInterfaceVTable vtable = {
sysprof_profiler_method_call,
NULL,