summaryrefslogtreecommitdiff
path: root/src/trg-main-window.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 16:21:04 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 16:21:04 +0000
commit79cd86dbfd5b2ea0963c84b48088ec189acfc795 (patch)
tree535769200823fdaa1fec9795fe986668cb33bdee /src/trg-main-window.h
parent63763bb00502e3c235e478ec50e097904c774696 (diff)
Big changeset, may break stuff. Unfortunately you can't magically jump into the UI thread using gdk_threads_enter/leave() on Windows, the only way is to schedule a callback using g_idle_add. This required a lot of reworking. Good news, Windows support actually works now \o/
Diffstat (limited to 'src/trg-main-window.h')
-rw-r--r--src/trg-main-window.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/trg-main-window.h b/src/trg-main-window.h
index da04254..ac19fba 100644
--- a/src/trg-main-window.h
+++ b/src/trg-main-window.h
@@ -58,9 +58,8 @@ typedef struct {
GType trg_main_window_get_type(void);
gboolean trg_add_from_filename(TrgMainWindow * win, gchar ** uris);
-void on_session_set(JsonObject * response, int status, gpointer data);
-void on_generic_interactive_action(JsonObject * response, int status,
- gpointer data);
+gboolean on_session_set(gpointer data);
+gboolean on_generic_interactive_action(gpointer data);
void auto_connect_if_required(TrgMainWindow * win, TrgClient * tc);
TrgMainWindow *trg_main_window_new(TrgClient * tc, gboolean minonstart);
void trg_main_window_add_status_icon(TrgMainWindow * win);