glade & _ref()
- From: bajcik kolos math uni lodz pl (Krzysztof Garus)
- To: gnome-devel-list gnome org
- Subject: glade & _ref()
- Date: Wed, 30 Oct 2002 17:09:35 +0100
hello,
Why glade (v0.6.4, makes code for gtk+v1.2) produce this code:
label7 = gtk_label_new (_("Plugin"));
gtk_widget_ref (label7);
gtk_object_set_data_full (GTK_OBJECT (wndMain), "label7", label7,
(GtkDestroyNotify) gtk_widget_unref);
instead of this:
label7 = gtk_label_new (_("Plugin"));
gtk_object_set_data (GTK_OBJECT (wndMain), "label7", label7);
? It doesn't make sense for me.
bajcik
--
Krzysztof Garus <kgarus bigfoot com> Linux User 171721
http://www.bigfoot.com/~kgarus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]