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
Hi,
I have made a simple application with a top level window:
#include gtk/gtk.h
#include mcheck.h
gboolean OnDeleteHandler(GtkWidget *sender,
GdkEvent *event,
gpointer data)
{
return FALSE;
}
void OnDestroyHandler(GtkWidget
.
Thanks,
Michael
On 22/11/2007, c f [EMAIL PROTECTED] wrote:
Hi,
I have made a simple application with a top level window:
#include gtk/gtk.h
#include mcheck.h
gboolean OnDeleteHandler(GtkWidget *sender,
GdkEvent *event
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