[gtk] Fix registration of profiler DBus api
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Fix registration of profiler DBus api
- Date: Tue, 14 May 2019 12:07:41 +0000 (UTC)
commit c0096114010a09687c9dc8cb79c18b3bc082d82c
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 14 11:59:02 2019 +0000
Fix registration of profiler DBus api
gtk/gtkapplication.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 2a804587b7..69e8e3b85c 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]