Hey,

I'm not sure if this is a bug or I'm doing something wrong, but all
the examples I've seen make me think that this should behave
differently:

When I call SourceView::get_source_buffer(), I'm getting a RefPtr with
a null value.

#include <iostream>
#include <gtkmm.h>
#include <gtksourceviewmm.h>
namespace Gsv = gtksourceview ;

int
main( int argc, char* argv[] )
{
   Gtk::Main kit( argc, argv ) ;

   Gsv::SourceView view ;
   Glib::RefPtr< Gsv::SourceBuffer > buf = view.get_source_buffer() ;
   std::cerr << buf << std::endl ;
}

I'm using SVN version 113

Some other things I've noticed:

The test-search program segfaults durring the search operation.  I
didn't really investigate it much.

gtksourceviewmm.h didn't get installed properly in
$PREFIX/include/libgtksourceviewmm-1.0/


Thanks,
Paul Davis

_______________________________________________
Gtksourceviewmm-list mailing list
[email protected]
https://mail.gna.org/listinfo/gtksourceviewmm-list

Reply via email to