mirror of https://github.com/GNOME/gimp.git
ref and sink the adjustment we use for the mem_size_entry.
2002-02-03 Manish Singh <yosh@gimp.org> * libgimpwidgets/gimpwidgets.c: ref and sink the adjustment we use for the mem_size_entry.
This commit is contained in:
parent
7d419f002c
commit
979feb6aa3
|
@ -1,3 +1,8 @@
|
|||
2002-02-03 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpwidgets.c: ref and sink the adjustment we use
|
||||
for the mem_size_entry.
|
||||
|
||||
2002-02-03 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* docs/Makefile.am: don't install gimp-remote manpage yet
|
||||
|
|
|
@ -1134,6 +1134,8 @@ gimp_mem_size_entry_new (GtkAdjustment *adjustment)
|
|||
gtk_box_pack_start (GTK_BOX (hbox), optionmenu, FALSE, FALSE, 0);
|
||||
gtk_widget_show (optionmenu);
|
||||
|
||||
g_object_ref (adjustment);
|
||||
gtk_object_sink (GTK_OBJECT (adjustment));
|
||||
g_signal_connect_swapped (G_OBJECT (hbox), "destroy",
|
||||
G_CALLBACK (g_object_unref),
|
||||
adjustment);
|
||||
|
|
Loading…
Reference in New Issue