Re: memory leak in gtk

2007-11-23 Thread c f
Hi, In my opinion the definition what you have given describes well when a memory leak can cause serious problems but I would call memory leak,any dynamically allocated memory what is not freed when you are done with it . However it is true that OS will cleanup everything when the program termina

Re: memory leak in gtk

2007-11-21 Thread c f
; you must then go for it. I also like to tie-off loose ends. > > Thanks, > > Michael > > > On 22/11/2007, c f <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have made a simple application with a top level window: > > > > " > > #in

memory leak in gtk

2007-11-21 Thread c f
Hi, I have made a simple application with a top level window: " #include #include gboolean OnDeleteHandler(GtkWidget *sender, GdkEvent *event, gpointer data) { return FALSE; } void OnDestroyHandler(GtkWidget *sender, gpointer data)

gtk_ui_manager_get_accel_group reference

2007-11-09 Thread c f
Hi, I'm not sure if the following problem is a bug in gtk or it is a 'feature': Running the following code: GtkUIManager *uiManager = gtk_ui_manager_new(); GtkAccelGroup *accelGroup = gtk_ui_manager_get_accel_group(uiManager); g_object_unref(accelGroup); g_object_unref(uiManager); will result