plug-ins/common/AlienMap.c fix it properly. There's really no need to pass

2003-11-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c: fix it properly. There's really no
	need to pass the same pointer twice.
This commit is contained in:
Sven Neumann 2003-11-29 12:59:07 +00:00 committed by Sven Neumann
parent 161a75002e
commit acb5808381
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2003-11-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/AlienMap.c
* plug-ins/common/AlienMap2.c: fix it properly. There's really no
need to pass the same pointer twice.
2003-11-29 Maurits Rijk <m.rijk@chello.nl>
* plug-ins/common/AlienMap.c:

View File

@ -1153,7 +1153,7 @@ alienmap_dialog (void)
g_signal_connect (dialog, "response",
G_CALLBACK (dialog_response),
dialog);
NULL);
g_signal_connect (dialog, "destroy",
G_CALLBACK (gtk_main_quit),
NULL);
@ -1321,7 +1321,7 @@ dialog_response (GtkWidget *widget,
wint.run = TRUE;
default:
gtk_widget_destroy (GTK_WIDGET (data));
gtk_widget_destroy (widget);
break;
}
}

View File

@ -1156,7 +1156,7 @@ alienmap2_dialog (void)
g_signal_connect (dialog, "response",
G_CALLBACK (dialog_response),
dialog);
NULL);
g_signal_connect (dialog, "destroy",
G_CALLBACK (gtk_main_quit),
NULL);
@ -1347,7 +1347,7 @@ dialog_response (GtkWidget *widget,
wint.run = TRUE;
default:
gtk_widget_destroy (GTK_WIDGET (data));
gtk_widget_destroy (widget);
break;
}
}