don't use button as parent widget, it might be NULL.

2007-02-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerlist.c 
(gimp_controller_list_edit_clicked):
	don't use button as parent widget, it might be NULL.


svn path=/trunk/; revision=21907
This commit is contained in:
Sven Neumann 2007-02-13 08:08:57 +00:00 committed by Sven Neumann
parent 7ae5df3879
commit 0d5bf0ffda
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-02-13 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollerlist.c (gimp_controller_list_edit_clicked):
don't use button as parent widget, it might be NULL.
2007-02-13 Sven Neumann <sven@gimp.org>
* modules/gimpinputdevicestore.[ch]: added signals "device-added"

View File

@ -630,7 +630,7 @@ gimp_controller_list_edit_clicked (GtkWidget *button,
dialog = gimp_dialog_new (_("Configure Input Controller"),
"gimp-controller-editor-dialog",
gtk_widget_get_toplevel (button),
gtk_widget_get_toplevel (GTK_WIDGET (list)),
GTK_DIALOG_DESTROY_WITH_PARENT,
gimp_standard_help_func,
GIMP_HELP_PREFS_INPUT_CONTROLLERS,