summaryrefslogtreecommitdiff
path: root/src/trg-main-window.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-13 13:21:48 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-13 13:21:48 +0000
commit009ef4d4a37ca136c6bd1071fc980c4f164badd9 (patch)
treea5eaacc4ece039a3b9db8740a18c9397a0402759 /src/trg-main-window.h
parent0cf859ff090d670eef1a7f184ad974db6a953ccc (diff)
move functionality, refresh static function prototypes in main-window, add/remove status icon without restart
Diffstat (limited to 'src/trg-main-window.h')
-rw-r--r--src/trg-main-window.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/trg-main-window.h b/src/trg-main-window.h
index f5fcff2..bf8df6e 100644
--- a/src/trg-main-window.h
+++ b/src/trg-main-window.h
@@ -54,18 +54,14 @@ typedef struct {
} TrgMainWindowClass;
GType trg_main_window_get_type(void);
-
+gboolean trg_add_from_filename(TrgMainWindow *win, gchar *fileName);
+void on_session_set(JsonObject *response, int status, gpointer data);
+void on_generic_interactive_action(JsonObject *response, int status, gpointer data);
+void auto_connect_if_required(TrgMainWindow *win, trg_client *tc);
TrgMainWindow *trg_main_window_new(trg_client * tc);
-gboolean trg_add_from_filename(TrgMainWindow * win, gchar * fileName);
-void on_generic_interactive_action(JsonObject * response,
- int status, gpointer data);
-void auto_connect_if_required(TrgMainWindow * win, trg_client * tc);
-void on_session_set(JsonObject * response, int status, gpointer data);
+void trg_main_window_add_status_icon(TrgMainWindow *win);
+void trg_main_window_remove_status_icon(TrgMainWindow *win);
-G_END_DECLS struct add_torrent_threadfunc_args {
- GSList *list;
- trg_client *client;
- gpointer cb_data;
-};
+G_END_DECLS
#endif /* MAIN_WINDOW_H_ */