use the proper parent widget.

2004-11-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c (load_button_callback): use the
	proper parent widget.
This commit is contained in:
Sven Neumann 2004-11-14 16:51:01 +00:00 committed by Sven Neumann
parent 534bd0f0e0
commit 58adcf76e6
2 changed files with 7 additions and 3 deletions

View file

@ -1,8 +1,12 @@
2004-11-14 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig-dialog.c (load_button_callback): use the
proper parent widget.
2004-11-14 DindinX <dindinx@gimp.org>
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-types.h: small UI tweaks, suggested by
Sven.
* plug-ins/gfig/gfig-types.h: small UI tweaks, suggested by Sven.
2004-11-14 Sven Neumann <sven@gimp.org>

View file

@ -628,7 +628,7 @@ load_button_callback (GtkWidget *widget,
window =
gtk_file_chooser_dialog_new (_("Load Gfig object collection"),
GTK_WINDOW (gtk_widget_get_toplevel (widget)),
GTK_WINDOW (gtk_widget_get_toplevel (data)),
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,