Commit 43d691da authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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.
parent b7b799c0
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment