[gnote] Remove deprecated is_mapped from tray.cpp
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove deprecated is_mapped from tray.cpp
- Date: Thu, 12 May 2011 20:09:08 +0000 (UTC)
commit d3dfbf1e51d6111cbdfdb5a7410a0125e114b988
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Sat Mar 5 23:41:20 2011 +0200
Remove deprecated is_mapped from tray.cpp
Replace it by get_mapped.
src/tray.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tray.cpp b/src/tray.cpp
index ef0993e..371e690 100644
--- a/src/tray.cpp
+++ b/src/tray.cpp
@@ -335,7 +335,7 @@ namespace gnote {
if (note->is_pinned()) {
show = true;
}
- else if ((note->is_opened() && note->get_window()->is_mapped()) ||
+ else if ((note->is_opened() && note->get_window()->get_mapped()) ||
(note->change_date().is_valid() && (note->change_date() > days_ago)) ||
(list_size < min_size)) {
if (list_size <= max_size)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]