В Пнд, 12/03/2007 в 15:56 +0100, Murray Cumming пишет:
> On Mon, 2007-03-12 at 17:45 +0300, Andrew E. Makeev wrote:
> >
> > void TreeView::get_cursor(TreeModel::Path& path, TreeViewColumn*&
> > focus_column)
> > {
> > GtkTreePath* pTreePath = 0;
> > GtkTreeViewColumn* pTreeViewColumn = 0;
> > gtk_tree_view_get_cursor(gobj(), &pTreePath, &pTreeViewColumn);
> >
> > path = TreeModel::Path(pTreePath, true);
> > focus_column = Glib::wrap(pTreeViewColumn);
> > }
> >
> > Since TreeModel::Path() constructor takes copy of the GtkTreePath, we
> > may just add at the end of the get_cursor() function:
> >
> > gtk_tree_path_free( pTreePath );
> >
> Your logic makes sense to me. Please do try patching it and, if it fixes
> things, please submit it in bugzilla.
>
Just a small problem... I cannot access CVS:
cvs -d :pserver:[EMAIL PROTECTED]:/cvs/gnome login
(hit return as the password)
cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvs/gnome co gtkmm
it says - "Unknown host anoncvs.gnome.org.".
-andrew
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list