Re: GTK free function doesn't appear to have any affect.

2013-06-17 Thread dE
On 06/16/13 21:35, Chris Vine wrote: On Sun, 16 Jun 2013 12:28:52 +0530 dE de.tec...@gmail.com wrote: Apart from that, in the free_ptr? Does memory get freed for anyone else? #include stdio.h #include gtk/gtk.h #define COLS 200 void free_ptr ( GtkListStore * ); int main ( ) { gtk_init(

Re: GTK free function doesn't appear to have any affect.

2013-06-16 Thread dE
On 06/16/13 00:40, Allin Cottrell wrote: On Sat, 15 Jun 2013, dE wrote: On 06/15/13 14:24, dE wrote: Yes, I realized that over time, but there appears to be something wrong with g_object_unref or in general all GTK free functions on my system. In this piece of code -- #include stdio.h

Re: GTK free function doesn't appear to have any affect.

2013-06-16 Thread Chris Vine
On Sun, 16 Jun 2013 12:28:52 +0530 dE de.tec...@gmail.com wrote: Apart from that, in the free_ptr? Does memory get freed for anyone else? #include stdio.h #include gtk/gtk.h #define COLS 200 void free_ptr ( GtkListStore * ); int main ( ) { gtk_init( NULL, NULL ); int i, j;

Re: GTK free function doesn't appear to have any affect.

2013-06-16 Thread dE
On 06/16/13 21:35, Chris Vine wrote: On Sun, 16 Jun 2013 12:28:52 +0530 dE de.tec...@gmail.com wrote: Apart from that, in the free_ptr? Does memory get freed for anyone else? #include stdio.h #include gtk/gtk.h #define COLS 200 void free_ptr ( GtkListStore * ); int main ( ) { gtk_init(

Re: GTK free function doesn't appear to have any affect.

2013-06-15 Thread dE
On 06/15/13 03:35, Chris Vine wrote: On Fri, 14 Jun 2013 23:03:55 +0530 dE de.tec...@gmail.com wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dEde.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM,

Re: GTK free function doesn't appear to have any affect.

2013-06-15 Thread dE
On 06/15/13 14:24, dE wrote: On 06/15/13 03:35, Chris Vine wrote: On Fri, 14 Jun 2013 23:03:55 +0530 dE de.tec...@gmail.com wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dEde.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14,

Re: GTK free function doesn't appear to have any affect.

2013-06-15 Thread Allin Cottrell
On Sat, 15 Jun 2013, dE wrote: On 06/15/13 14:24, dE wrote: On 06/15/13 03:35, Chris Vine wrote: On Fri, 14 Jun 2013 23:03:55 +0530 dE de.tec...@gmail.com wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dEde.tec...@gmail.com wrote: On 06/14/13 17:02,

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread Andrew Potter
On Fri, Jun 14, 2013 at 12:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt change the memory usage by a bit. Is this normal (am I doing it right?)? e.g. -- gtk_list_store_clear

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread dE
On 06/14/13 13:24, Andrew Potter wrote: On Fri, Jun 14, 2013 at 12:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt change the memory usage by a bit. Is this normal (am I doing it right?)?

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread Matthias Clasen
On Fri, Jun 14, 2013 at 3:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt change the memory usage by a bit. Is this normal (am I doing it right?)? What are you monitoring, and how ? It

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread dE
On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt change the memory usage by a bit. Is this normal (am I doing it

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread Tristan Van Berkom
On Sat, Jun 15, 2013 at 12:23 AM, dE de.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread dE
On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt change the memory usage by a bit. Is this normal (am I doing it

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread dE
On 06/14/13 21:14, Tristan Van Berkom wrote: On Sat, Jun 15, 2013 at 12:23 AM, dE de.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread Chris Vine
On Fri, 14 Jun 2013 21:41:05 +0530 dE de.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE de.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread dE
On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dEde.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dEde.tec...@gmail.com wrote: I was monitoring the memory usage before and after execution of g_object_unref and

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread Tristan Van Berkom
On Sat, Jun 15, 2013 at 2:33 AM, dE de.tec...@gmail.com wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dEde.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dEde.tec...@gmail.com wrote: I was monitoring

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread Chris Vine
On Fri, 14 Jun 2013 23:03:55 +0530 dE de.tec...@gmail.com wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dEde.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dEde.tec...@gmail.com wrote: I was

Re: GTK free function doesn't appear to have any affect.

2013-06-14 Thread dE
On 06/14/13 23:14, Tristan Van Berkom wrote: On Sat, Jun 15, 2013 at 2:33 AM, dE de.tec...@gmail.com wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dEde.tec...@gmail.com wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM,