Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
gnome-documents
0004-application-Don-t-unexport-a-skeleton-that...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-application-Don-t-unexport-a-skeleton-that-was-never.patch of Package gnome-documents
From eb398d56a522da6f1da4ea9b9e9866f548834144 Mon Sep 17 00:00:00 2001 From: Debarshi Ray <debarshir@gnome.org> Date: Thu, 8 Jun 2017 16:58:08 +0200 Subject: [PATCH 04/18] application: Don't unexport a skeleton that was never exported Otherwise it will again lead to: GLib-GIO-CRITICAL **: g_dbus_interface_skeleton_unexport_from_connection: assertion 'interface_->priv->connections != NULL' failed https://bugzilla.gnome.org/show_bug.cgi?id=783548 --- src/application.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/application.js b/src/application.js index e5a8be0..b8731a2 100644 --- a/src/application.js +++ b/src/application.js @@ -452,7 +452,13 @@ const Application = new Lang.Class({ this._searchProvider.connect('activate-result', Lang.bind(this, this._onActivateResult)); this._searchProvider.connect('launch-search', Lang.bind(this, this._onLaunchSearch)); - this._searchProvider.export(connection); + try { + this._searchProvider.export(connection); + } catch(e) { + this._searchProvider = null; + throw(e); + } + return true; }, -- 2.12.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor