use g_signal_connect_object() instead of g_signal_connect(). Fixes bug

2004-04-18 Henrik Brix Andersen <brix@gimp.org>

* app/widgets/gimptemplateeditor.c
(gimp_template_editor_constructor): use g_signal_connect_object()
instead of g_signal_connect(). Fixes bug #140315.
This commit is contained in:
Henrik Brix Andersen 2004-04-18 20:46:46 +00:00 committed by Henrik Brix Andersen
parent 4345225504
commit da2115bad5
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-04-18 Henrik Brix Andersen <brix@gimp.org>
* app/widgets/gimptemplateeditor.c
(gimp_template_editor_constructor): use g_signal_connect_object()
instead of g_signal_connect(). Fixes bug #140315.
2004-04-18 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/gauss_rle.c (gauss_rle): Oops, fixed my fix.

View File

@ -497,9 +497,9 @@ gimp_template_editor_constructor (GType type,
gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
gtk_widget_show (text_view);
g_signal_connect (editor->template, "notify",
G_CALLBACK (gimp_template_editor_template_notify),
editor);
g_signal_connect_object (editor->template, "notify",
G_CALLBACK (gimp_template_editor_template_notify),
editor, 0);
return object;
}