diff options
author | Thomas White <taw@physics.org> | 2020-02-28 17:21:54 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:24 +0200 |
commit | 9efa86e0fbc8e566b0c5a136d805a9e3e2065cbb (patch) | |
tree | a4fd7f17e3af016450106171ad773304551c84a3 /src/crystfel_gui.c | |
parent | 66b4e9d8f33b198fbbcb04b94ac4c18ea8f4825c (diff) |
Remove error_box
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r-- | src/crystfel_gui.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index c57a0a9f..a3904ecd 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -70,22 +70,6 @@ struct crystfelproject { }; -static void error_box(struct crystfelproject *proj, const char *message) -{ - GtkWidget *window; - - window = gtk_message_dialog_new(GTK_WINDOW(proj->window), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_WARNING, - GTK_BUTTONS_CLOSE, "%s", message); - gtk_window_set_title(GTK_WINDOW(window), "Error"); - - g_signal_connect_swapped(window, "response", - G_CALLBACK(gtk_widget_destroy), window); - gtk_widget_show(window); -} - - static gboolean destroy_sig(GtkWidget *da, struct crystfelproject *proj) { gtk_main_quit(); |