[gtkmm] * gtk/src/treepath.ccg: Gtk::TreePath::empty() must
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtkmm] * gtk/src/treepath.ccg: Gtk::TreePath::empty() must
- Date: Tue, 23 Jun 2009 03:46:44 -0400 (EDT)
commit 4da073bd6c914afc052d11c719efd3ca4e44a0cb
Author: Hubert Figuiere <hub figuiere net>
Date: Mon Jun 22 19:43:01 2009 -0400
* gtk/src/treepath.ccg: Gtk::TreePath::empty() must
return true if gobj_ is NULL. Bug #586437.
ChangeLog | 5 +++++
gtk/src/treepath.ccg | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2d73e6d..23ace66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-22 Hubert Figuiere <hub figuiere net>
+
+ * gtk/src/treepath.ccg: Gtk::TreePath::empty() must
+ return true if gobj_ is NULL. Bug #586437.
+
2009-06-22 Murray Cumming <murrayc murrayc com>
* gtk/src/infobar.[hg|ccg]: Added InfoBar.
diff --git a/gtk/src/treepath.ccg b/gtk/src/treepath.ccg
index 7a5f3b9..4d84321 100644
--- a/gtk/src/treepath.ccg
+++ b/gtk/src/treepath.ccg
@@ -71,7 +71,7 @@ TreePath::operator bool() const
bool TreePath::empty() const
{
if(!gobject_)
- return false;
+ return true;
return (gtk_tree_path_get_depth(gobject_) == 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]