From 5b1f6a5deed654e651e1de249a81b895d0073313 Mon Sep 17 00:00:00 2001 From: Robert Manea Date: Tue, 13 Oct 2009 15:53:19 +0200 Subject: handle multiple calls to --conect-socket --- uzbl-core.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'uzbl-core.h') diff --git a/uzbl-core.h b/uzbl-core.h index 12c1716..32d92e3 100644 --- a/uzbl-core.h +++ b/uzbl-core.h @@ -81,7 +81,7 @@ typedef struct { GHashTable *proto_var; gchar *sync_stdout; - GIOChannel *connect_chan; + GPtrArray *connect_chan; GPtrArray *client_chan; } Communication; @@ -99,7 +99,7 @@ typedef struct { gchar* searchtx; gboolean verbose; GPtrArray *event_buffer; - gchar* connect_socket_name; + gchar** connect_socket_names; } State; @@ -424,6 +424,9 @@ update_gui(WebKitWebView *page, GArray *argv, GString *result); void event(WebKitWebView *page, GArray *argv, GString *result); +void +init_connect_socket(); + typedef void (*Command)(WebKitWebView*, GArray *argv, GString *result); typedef struct { Command function; -- cgit v1.2.3