diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-01-31 11:53:30 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-01-31 11:53:30 +0000 |
commit | fee7f50c0ae418c3491f294d4af6f90d63c9d43a (patch) | |
tree | c439d874d1e0b6355e1be51576206508f63a3629 | |
parent | e64ec473a826bbe73e90277598f378f3a52c62a0 (diff) |
issue 179
-rw-r--r-- | src/trg-main-window.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c index 01e0436..3f63c1b 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -1000,10 +1000,9 @@ static GtkWidget *trg_main_window_notebook_new(TrgMainWindow * win) gboolean on_session_set(gpointer data) { - TrgMainWindow *win = TRG_MAIN_WINDOW(data); - TrgMainWindowPrivate *priv = win->priv; - trg_response *response = (trg_response *) data; + TrgMainWindow *win = TRG_MAIN_WINDOW(response->cb_data); + TrgMainWindowPrivate *priv = win->priv; if (response->status == CURLE_OK || response->status == FAIL_RESPONSE_UNSUCCESSFUL) |