gtkmm r987 - in branches/gtkmm-2-12: . gtk/src



Author: murrayc
Date: Wed Apr  2 11:45:01 2008
New Revision: 987
URL: http://svn.gnome.org/viewvc/gtkmm?rev=987&view=rev

Log:
2008-04-02  Svetlozar Argirov  <zarrro gmail com>

* gtk/src/treepath.hg: TreePath(In pbegin, In pend) constructor:
Initialize gobject_ to avoid a crash.
Bug #500439.

Modified:
   branches/gtkmm-2-12/ChangeLog
   branches/gtkmm-2-12/gtk/src/treepath.hg

Modified: branches/gtkmm-2-12/gtk/src/treepath.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/treepath.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/treepath.hg	Wed Apr  2 11:45:01 2008
@@ -189,6 +189,7 @@
 
 template <class In> inline
 TreePath::TreePath(In pbegin, In pend)
+: gobject_(gtk_tree_path_new())
 {
   this->append(pbegin, pend);
 }



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