mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
allow to pass NULL as parent widget.
2004-03-14 Sven Neumann <sven@gimp.org> * app/widgets/gimptooldialog.c (gimp_tool_dialog_new): allow to pass NULL as parent widget.
This commit is contained in:
parent
5e32bf4d67
commit
9e0af0e249
|
@ -1,3 +1,8 @@
|
|||
2004-03-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): allow to
|
||||
pass NULL as parent widget.
|
||||
|
||||
2004-03-14 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/gui/splash.c: some code cleanup.
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
/**
|
||||
* gimp_tool_dialog_new:
|
||||
* @tool_info: a #GimpToolInfo
|
||||
* @parent: the parent widget of this dialog
|
||||
* @parent: the parent widget of this dialog or %NULL
|
||||
* @desc: a string to use in the dialog header or %NULL to use the help
|
||||
* field from #GimpToolInfo
|
||||
* @...: a %NULL-terminated valist of button parameters as described in
|
||||
|
@ -62,7 +62,7 @@ gimp_tool_dialog_new (GimpToolInfo *tool_info,
|
|||
va_list args;
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_TOOL_INFO (tool_info), NULL);
|
||||
g_return_val_if_fail (GTK_IS_WIDGET (parent), NULL);
|
||||
g_return_val_if_fail (parent == NULL || GTK_IS_WIDGET (parent), NULL);
|
||||
|
||||
stock_id = gimp_viewable_get_stock_id (GIMP_VIEWABLE (tool_info));
|
||||
|
||||
|
|
Loading…
Reference in a new issue