Re: {Spam?} Re: memory leak in gtk

2007-11-24 Thread Junior Polegato - GTK+ GTKmm
Vincent Torri escreveu:
 On Sat, 24 Nov 2007, Michael Lamothe wrote:
   
 From what I've heard about memory leaking, this is not unique to the
   
 GTK library.  If the rumours are correct, applications like `ls` are
 notorious for leaking memory, safe in the knowledge that the OS will
 clean up after them.
 
 and if someone calls 'ls' iteratively in his program ?
   
When a process finish, the OS clean up memory. However, on some cases, 
the cost to freeing the memory is greater than let to the OS.

-- 
Yours Truly,

   Junior Polegato

   A pilgrim of problems; A parchment of solutions!
   Professional Page: http://www.juniorpolegato.com.br

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: {Spam?} Re: {Spam?} Re: memory leak in gtk

2007-11-24 Thread Junior Polegato - GTK+ GTKmm
Vincent Torri escreveu:
 On Sat, 24 Nov 2007, Junior Polegato - GTK+  GTKmm wrote:
 Vincent Torri escreveu:
 On Sat, 24 Nov 2007, Michael Lamothe wrote:
 From what I've heard about memory leaking, this is not unique to the
 GTK library.  If the rumours are correct, applications like `ls` are
 notorious for leaking memory, safe in the knowledge that the OS will
 clean up after them.
 and if someone calls 'ls' iteratively in his program ?
 When a process finish, the OS clean up memory. However, on some 
 cases, the cost to freeing the memory is greater than let to the OS.
 and ? You have definitely a leak there. Calling, in your program (with 
 the exec() functions family), iteratively and infinitely a program 
 that leaks can crash your system. 'ls' is maybe not a good example, 
 but i'm sure you see what I mean ;)
I said on some cases, like ls. On this case you have described, the 
cost is the system crash.

-- 
Yours Truly,

   Junior Polegato

   A pilgrim of problems; A parchment of solutions!
   Professional Page: http://www.juniorpolegato.com.br

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: displaying 2 images from combobox

2007-03-07 Thread Junior Polegato - GTK+ GTKmm
lucks escreveu:
  image1 = lookup_widget(GTK_WIDGET(combobox),  img_patterndesign);
   

Hi, you have a space between  and img_.

-- 
Yours Truly,

   Junior Polegato

   A pilgrim of problems; A parchment of solutions!
   Professional Page: http://www.juniorpolegato.com.br

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list