don't call gtk_widget_hide() on a NULL help button.
2005-07-25 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpdialog.c (gimp_dialog_add_buttons_valist): don't call gtk_widget_hide() on a NULL help button.
This commit is contained in:

committed by
Michael Natterer

parent
b7b799c041
commit
43d691daef
@ -1,3 +1,8 @@
|
||||
2005-07-25 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpdialog.c (gimp_dialog_add_buttons_valist):
|
||||
don't call gtk_widget_hide() on a NULL help button.
|
||||
|
||||
2005-07-24 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* libgimp/gimpbrushmenu.c
|
||||
|
@ -420,7 +420,8 @@ gimp_dialog_add_buttons_valist (GimpDialog *dialog,
|
||||
{
|
||||
GtkWidget *button = g_object_get_data (G_OBJECT (dialog),
|
||||
"gimp-dialog-help-button");
|
||||
gtk_widget_hide (button);
|
||||
if (button)
|
||||
gtk_widget_hide (button);
|
||||
}
|
||||
|
||||
gtk_dialog_add_button (GTK_DIALOG (dialog), button_text, response_id);
|
||||
|
Reference in New Issue
Block a user