Re: gtk_widget_ref() /gtk_widget_unref() ?



The correct way to destroy widgets you dont need
is to call g_object_unref(G_OBJECT(widget));

So I sould use

g_object_unref()

Insted Of

gkt_object_destroy();

?

Even if I don't use g_object_ref()? 
Or g_object_ref/g_object_unref are always needed?

Thanx

see you





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]