[gnote] Remove some obsolete code
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove some obsolete code
- Date: Wed, 13 Nov 2019 15:50:49 +0000 (UTC)
commit 30723290a5a59dc849c3728cbc4eedea0c0d0f15
Author: Aurimas Černius <aurisc4 gmail com>
Date: Wed Nov 13 17:49:53 2019 +0200
Remove some obsolete code
src/addins/gvfssyncservice/gvfssyncserviceaddin.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/addins/gvfssyncservice/gvfssyncserviceaddin.cpp
b/src/addins/gvfssyncservice/gvfssyncserviceaddin.cpp
index ab88f94a..9e805614 100644
--- a/src/addins/gvfssyncservice/gvfssyncserviceaddin.cpp
+++ b/src/addins/gvfssyncservice/gvfssyncserviceaddin.cpp
@@ -229,7 +229,6 @@ Gtk::Widget *GvfsSyncServiceAddin::create_preferences_control(EventHandler requi
bool GvfsSyncServiceAddin::save_configuration(const sigc::slot<void, bool, Glib::ustring> & on_saved)
{
Glib::ustring sync_uri = m_uri_entry->get_text();
- std::exception_ptr save_exception;
if(sync_uri == "") {
ERR_OUT(_("The URI is empty"));
@@ -250,7 +249,7 @@ bool GvfsSyncServiceAddin::save_configuration(const sigc::slot<void, bool, Glib:
});
};
if(mount_async(path, on_mount_completed)) {
- Glib::Thread::create([this, &save_exception, sync_uri, on_mount_completed]() {
+ Glib::Thread::create([this, sync_uri, on_mount_completed]() {
on_mount_completed(true, "");
}, false);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]