[gnote] Remove unused register_remote_control



commit ac71d80d016271627ea012de846d0625eb04f03b
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Tue Mar 2 22:55:40 2021 +0200

    Remove unused register_remote_control

 src/gnote.cpp | 6 ------
 src/gnote.hpp | 3 +--
 2 files changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index 3a0483a5..d577ceec 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -201,12 +201,6 @@ namespace gnote {
   }
 
 
-  void Gnote::register_remote_control(NoteManager & manager, RemoteControlProxy::slot_name_acquire_finish 
on_finish)
-  {
-    m_remote_control.register_remote(manager, on_finish);
-  }
-
-
   void Gnote::register_object()
   {
     m_remote_control.register_object(Gio::DBus::Connection::get_sync(Gio::DBus::BUS_TYPE_SESSION), 
default_note_manager(), sigc::mem_fun(*this, &Gnote::end_main));
diff --git a/src/gnote.hpp b/src/gnote.hpp
index 7c8bef15..5a690ccd 100644
--- a/src/gnote.hpp
+++ b/src/gnote.hpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010-2019 Aurimas Cernius
+ * Copyright (C) 2010-2019,2021 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -162,7 +162,6 @@ public:
     {
       return !is_background();
     }
-  void register_remote_control(NoteManager & manager, RemoteControlProxy::slot_name_acquire_finish 
on_finish);
   virtual void open_note(const Note::Ptr & note) override;
 protected:
   virtual int on_command_line(const Glib::RefPtr<Gio::ApplicationCommandLine> & command_line) override;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]