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 wrote: Apart from that, in the free_ptr? Does memory get freed for anyone else? #include #include #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 wrote: Apart from that, in the free_ptr? Does memory get freed for anyone else? #include #include #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 Chris Vine
On Sun, 16 Jun 2013 12:28:52 +0530 dE wrote: > Apart from that, in the free_ptr? Does memory get freed for anyone > else? > > #include > #include > #define COLS 200 > void free_ptr ( GtkListStore * ); > > int main ( ) { > gtk_init( NULL, NULL ); > int i, j; > char *temp; >

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 #include #

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 wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dE wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 a

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 wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dE wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE wrote: I was moni

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 wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dE wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE wrote: I was monitoring the memory usage before

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 wrote: On 06/14/13 22:09, Chris Vine wrote: On Fri, 14 Jun 2013 21:41:05 +0530 dE wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE wrote: I was monitoring the memory usage

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 wrote: > On 06/14/13 22:09, Chris Vine wrote: > > On Fri, 14 Jun 2013 21:41:05 +0530 > > dE wrote: > >> On 06/14/13 17:02, Matthias Clasen wrote: > >>> On Fri, Jun 14, 2013 at 3:27 AM, dE wrote: > I was monitoring the memory usage before and after execu

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 wrote: > On 06/14/13 22:09, Chris Vine wrote: >> >> On Fri, 14 Jun 2013 21:41:05 +0530 >> dE wrote: >>> >>> On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE wrote: > > I was monitoring the memory usage before and

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 dE wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE wrote: I was monitoring the memory usage before and after execution of g_object_unref and gtk_list_store_clear, and it didnt change

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 wrote: > On 06/14/13 17:02, Matthias Clasen wrote: > > On Fri, Jun 14, 2013 at 3:27 AM, dE 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

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 wrote: On 06/14/13 17:02, Matthias Clasen wrote: On Fri, Jun 14, 2013 at 3:27 AM, dE 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 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 moni

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 wrote: > On 06/14/13 17:02, Matthias Clasen wrote: >> >> On Fri, Jun 14, 2013 at 3:27 AM, dE 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

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 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 moni

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 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 is i normal th

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 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_s

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 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 (store); > g_objec

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

2013-06-14 Thread dE
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 (store); g_object_unref( G_OBJECT (store) ); g_object_unref ( G_OBJECT ( c