From: Matthias Clasen Date: Wed, 8 May 2019 16:49:47 +0000 (+0000) Subject: profiler: Update the D-Bus interface name X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~1682 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cb51699098ccfa7d67137b7890497d9d1220c6d6;p=gtk4.git profiler: Update the D-Bus interface name Sysprof is bumping its name to Sysprof3, so lets change to that before this gets used. --- diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 944d7fc8d9..2a804587b7 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -610,9 +610,9 @@ gtk_application_finalize (GObject *object) #ifdef G_OS_UNIX -static const gchar org_gnome_Sysprof2_Profiler_xml[] = +static const gchar org_gnome_Sysprof3_Profiler_xml[] = "" - "" + "" "" "" "" @@ -621,7 +621,7 @@ static const gchar org_gnome_Sysprof2_Profiler_xml[] = "" ""; -static GDBusInterfaceInfo *org_gnome_Sysprof2_Profiler; +static GDBusInterfaceInfo *org_gnome_Sysprof3_Profiler; static void sysprof_profiler_method_call (GDBusConnection *connection, @@ -696,22 +696,22 @@ gtk_application_dbus_register (GApplication *application, NULL }; - if (org_gnome_Sysprof2_Profiler == NULL) + if (org_gnome_Sysprof3_Profiler == NULL) { GDBusNodeInfo *info; - info = g_dbus_node_info_new_for_xml (org_gnome_Sysprof2_Profiler_xml, error); + info = g_dbus_node_info_new_for_xml (org_gnome_Sysprof3_Profiler_xml, error); if (info == NULL) return FALSE; - org_gnome_Sysprof2_Profiler = g_dbus_node_info_lookup_interface (info, "org.gnome.Sysprof2.Profiler"); - g_dbus_interface_info_ref (org_gnome_Sysprof2_Profiler); + org_gnome_Sysprof3_Profiler = g_dbus_node_info_lookup_interface (info, "org.gnome.Sysprof3.Profiler"); + g_dbus_interface_info_ref (org_gnome_Sysprof3_Profiler); g_dbus_node_info_unref (info); } dbus->profiler_id = g_dbus_connection_register_object (connection, "/org/gtk/Profiler", - org_gnome_Sysprof2_Profiler, + org_gnome_Sysprof3_Profiler, &vtable, NULL, NULL,