use the proper local variable on creation, not the uninitialized one.

* app/by_color_select.c: use the proper local variable on creation, not the
uninitialized one. Fixes bug .

-Yosh
This commit is contained in:
Manish Singh 2000-03-31 12:23:11 +00:00
parent 528f9f6909
commit 5bbe56d364
4 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
Fri Mar 31 04:20:27 PST 2000 Manish Singh <yosh@gimp.org>
* app/by_color_select.c: use the proper local variable on creation,
not the uninitialized one. Fixes bug #8149.
Thu Mar 30 16:48:06 PST 2000 Manish Singh <yosh@gimp.org>
* configure.in: made glib cflags extraction smarter

View File

@ -746,8 +746,8 @@ by_color_select_dialog_new (void)
frame =
gimp_radio_group_new2 (TRUE, _("Selection Mode"),
gimp_radio_button_update,
&by_color_dialog->operation,
(gpointer) by_color_dialog->operation,
&bcd->operation,
(gpointer) bcd->operation,
_("Replace"), (gpointer) SELECTION_REPLACE, NULL,
_("Add"), (gpointer) SELECTION_ADD, NULL,

View File

@ -746,8 +746,8 @@ by_color_select_dialog_new (void)
frame =
gimp_radio_group_new2 (TRUE, _("Selection Mode"),
gimp_radio_button_update,
&by_color_dialog->operation,
(gpointer) by_color_dialog->operation,
&bcd->operation,
(gpointer) bcd->operation,
_("Replace"), (gpointer) SELECTION_REPLACE, NULL,
_("Add"), (gpointer) SELECTION_ADD, NULL,

View File

@ -746,8 +746,8 @@ by_color_select_dialog_new (void)
frame =
gimp_radio_group_new2 (TRUE, _("Selection Mode"),
gimp_radio_button_update,
&by_color_dialog->operation,
(gpointer) by_color_dialog->operation,
&bcd->operation,
(gpointer) bcd->operation,
_("Replace"), (gpointer) SELECTION_REPLACE, NULL,
_("Add"), (gpointer) SELECTION_ADD, NULL,