[gnote] Remove FOREACH from notebookapplicationaddin
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove FOREACH from notebookapplicationaddin
- Date: Sun, 7 Apr 2019 16:44:16 +0000 (UTC)
commit 4ec747fa7d4c0dc9515a45de5899cbb332fec626
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Apr 7 18:37:32 2019 +0300
Remove FOREACH from notebookapplicationaddin
src/notebooks/notebookapplicationaddin.cpp | 2 +-
src/notebooks/notebookapplicationaddin.hpp | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/notebooks/notebookapplicationaddin.cpp b/src/notebooks/notebookapplicationaddin.cpp
index 1ab076ae..360dde94 100644
--- a/src/notebooks/notebookapplicationaddin.cpp
+++ b/src/notebooks/notebookapplicationaddin.cpp
@@ -61,7 +61,7 @@ namespace gnote {
NoteManager & nm(note_manager());
- FOREACH(const NoteBase::Ptr & note, nm.get_notes()) {
+ for(const NoteBase::Ptr & note : nm.get_notes()) {
note->signal_tag_added.connect(
sigc::mem_fun(*this, &NotebookApplicationAddin::on_tag_added));
note->signal_tag_removed.connect(
diff --git a/src/notebooks/notebookapplicationaddin.hpp b/src/notebooks/notebookapplicationaddin.hpp
index 7db8e0e6..092d30e0 100644
--- a/src/notebooks/notebookapplicationaddin.hpp
+++ b/src/notebooks/notebookapplicationaddin.hpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2012-2015,2017 Aurimas Cernius
+ * Copyright (C) 2012-2015,2017,2019 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -23,7 +23,6 @@
#ifndef __NOTEBOOK_APPLICATION_ADDIN_HPP__
#define __NOTEBOOK_APPLICATION_ADDIN_HPP__
-#include "base/macros.hpp"
#include "applicationaddin.hpp"
#include "note.hpp"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]