mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix gtk critical warning, patch by Bob.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19406 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -919,6 +919,7 @@ gnc_gtk_dialog_add_button (GtkWidget *dialog, const gchar *label, const gchar *s
|
||||
image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON);
|
||||
gtk_button_set_image(GTK_BUTTON(button), image);
|
||||
}
|
||||
gtk_widget_set_can_default (button, TRUE);
|
||||
gtk_widget_show_all(button);
|
||||
gtk_dialog_add_action_widget(GTK_DIALOG(dialog), button, response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user