Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread James Scott Jr
g_object_ref_sink() replaces gtk_object_sink() Please make this substitution James, On Thu, 2008-02-28 at 00:04 -0500, James Scott Jr wrote: > On Wed, 2008-02-27 at 21:03 -0500, Mark Rodriguez wrote: > > > James, > > > > > When doe s the error occur? > > > 0. When program starts > > > 1

Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread James Scott Jr
On Wed, 2008-02-27 at 21:03 -0500, Mark Rodriguez wrote: > James, > > > When doe s the error occur? > > 0. When program starts > > 1. When shutting down > > 2. When creating the text_view the first time > > 3. When creating the text_view the Nth time > > > > I will assume it happens durin

Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread Mark Rodriguez
James, > When doe s the error occur? > 0. When program starts > 1. When shutting down > 2. When creating the text_view the first time > 3. When creating the text_view the Nth time > > I will assume it happens durin shutdown (#1). Yes you are correct. In the "real" application, the applicati

Re: Text View Complaining about Double Free or Corruption

2008-02-26 Thread James Scott Jr
On Tue, 2008-02-26 at 20:51 -0500, Mark Rodriguez wrote: > James, > > > I'm not sure what in your #include "common.h", but I placed the following > > in mine > > > > #include /* for abort() */ > > #include /* for gtk, gdk, and glib */ > > I have a few other things, but these are included

Re: Text View Complaining about Double Free or Corruption

2008-02-26 Thread Mark Rodriguez
James, > I'm not sure what in your #include "common.h", but I placed the following > in mine > > #include /* for abort() */ > #include /* for gtk, gdk, and glib */ I have a few other things, but these are included and the app also build fine for me. I can even run it under Ubuntu and it beh

Re: Text View Complaining about Double Free or Corruption

2008-02-26 Thread James Scott Jr
Mark, I'm not sure what in your #include "common.h", but I placed the following in mine #include /* for abort() */ #include /* for gtk, gdk, and glib */ With that single change the program compiled and executed without error message; as I would have expected. James, On Tue, 2008-02-26 at 01

Re: Text View Complaining about Double Free or Corruption

2008-02-26 Thread Chris Vine
On Tue, 2008-02-26 at 01:20 -0500, Mark Rodriguez wrote: > Was wondering if anybody has any idea(s) why the code below would seem > to work fine on GTK/X11 (at least I don't see any error messages), but > fail on GTK/DirectFB? When the application is exited by hitting the > "Quit" button, I receive

Text View Complaining about Double Free or Corruption

2008-02-26 Thread Mark Rodriguez
Was wondering if anybody has any idea(s) why the code below would seem to work fine on GTK/X11 (at least I don't see any error messages), but fail on GTK/DirectFB? When the application is exited by hitting the "Quit" button, I receive the following error message: *** glibc detected *** TextDemo: d

Text View Complaining about Double Free or Corruption

2008-02-25 Thread Mark Rodriguez
Was wondering if anybody has any idea(s) why the code below would seem to work fine on GTK/X11 (at least I don't see any error messages), but fail on GTK/DirectFB? When the application is exited by hitting the "Quit" button, I receive the following error message: *** glibc detected *** TextDemo: d