mirror of https://github.com/GNOME/gimp.git
for consistency, use return_if_no_widget() instead of
2005-02-03 Michael Natterer <mitch@gimp.org> * app/actions/help-commands.c (help_context_help_cmd_callback): for consistency, use return_if_no_widget() instead of action_data_get_widget()
This commit is contained in:
parent
ebf67a2003
commit
0185153282
|
@ -1,3 +1,9 @@
|
|||
2005-02-03 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/actions/help-commands.c (help_context_help_cmd_callback):
|
||||
for consistency, use return_if_no_widget() instead of
|
||||
action_data_get_widget()
|
||||
|
||||
2005-02-03 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/dialogs/image-scale-dialog.c (image_scale_dialog_new): use
|
||||
|
|
|
@ -39,8 +39,8 @@ void
|
|||
help_context_help_cmd_callback (GtkAction *action,
|
||||
gpointer data)
|
||||
{
|
||||
GtkWidget *widget = action_data_get_widget (data);
|
||||
GtkWidget *widget;
|
||||
return_if_no_widget (widget, data);
|
||||
|
||||
if (widget)
|
||||
gimp_context_help (widget);
|
||||
gimp_context_help (widget);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue