From 5f33ee8501411cda1e811af4634560e8bdca5483 Mon Sep 17 00:00:00 2001 From: Stefan Gehn Date: Wed, 8 Oct 2008 18:59:28 +0000 Subject: [PATCH] - Temporarily remove message dialog with warning about connection problems, it causes lockups when executed from the reconnect thread --- src/client.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/client.c b/src/client.c index 8b33bd0..4a11443 100644 --- a/src/client.c +++ b/src/client.c @@ -1874,7 +1874,6 @@ gboolean gkrellm_client_mode_connect(void) { gchar buf[128]; - GtkWidget* dlg; if (_GK.server_port == 0) _GK.server_port = GKRELLMD_SERVER_PORT; @@ -1882,13 +1881,6 @@ gkrellm_client_mode_connect(void) client_fd = gkrellm_connect_to(_GK.server, _GK.server_port); if (client_fd < 0) { g_warning("%s\n", _("Unable to connect.")); - - dlg = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - "Unable to connect to server '%s:%d'", - _GK.server, _GK.server_port); - gtk_dialog_run(GTK_DIALOG(dlg)); - gtk_widget_destroy(dlg); return FALSE; } @@ -1902,13 +1894,6 @@ gkrellm_client_mode_connect(void) if(!read_server_setup(client_fd)){ close(client_fd); - - dlg = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - "Initial setup with server '%s:%d' failed.", - _GK.server, _GK.server_port); - gtk_dialog_run(GTK_DIALOG(dlg)); - gtk_widget_destroy(dlg); return FALSE; }