[gnote] Remove old note actions



commit 746111bd4bfac0fce148d01d31dc429d0fecda21
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Jan 2 15:26:11 2016 +0200

    Remove old note actions

 src/noteaddin.cpp |    6 +-----
 src/noteaddin.hpp |    3 +--
 2 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/noteaddin.cpp b/src/noteaddin.cpp
index 9d8a94a..13e62a0 100644
--- a/src/noteaddin.cpp
+++ b/src/noteaddin.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2012-2015 Aurimas Cernius
+ * Copyright (C) 2012-2016 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -45,10 +45,6 @@ namespace gnote {
   void NoteAddin::dispose(bool disposing)
   {
     if (disposing) {
-      for(std::list<std::string>::const_iterator iter = m_note_actions.begin();
-          iter != m_note_actions.end(); ++iter) {
-        //get_window()->remove_widget_action(*iter);
-      }
       for(std::list<Gtk::MenuItem*>::const_iterator iter = m_text_menu_items.begin();
           iter != m_text_menu_items.end(); ++iter) {
         delete *iter;
diff --git a/src/noteaddin.hpp b/src/noteaddin.hpp
index 0deecfa..1a48e07 100644
--- a/src/noteaddin.hpp
+++ b/src/noteaddin.hpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2012-2015 Aurimas Cernius
+ * Copyright (C) 2012-2016 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  *
  * This program is free software: you can redistribute it and/or modify
@@ -113,7 +113,6 @@ public:
 private:
   Note::Ptr                     m_note;
   sigc::connection              m_note_opened_cid;
-  std::list<std::string>        m_note_actions;
   std::list<Gtk::MenuItem*>     m_text_menu_items;
   typedef std::map<Gtk::ToolItem*, int> ToolItemMap;
   ToolItemMap                   m_toolbar_items;


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