aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-02-28 17:21:54 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:24 +0200
commit9efa86e0fbc8e566b0c5a136d805a9e3e2065cbb (patch)
treea4fd7f17e3af016450106171ad773304551c84a3 /src/crystfel_gui.c
parent66b4e9d8f33b198fbbcb04b94ac4c18ea8f4825c (diff)
Remove error_box
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c16
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();