From 009ef4d4a37ca136c6bd1071fc980c4f164badd9 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Sun, 13 Feb 2011 13:21:48 +0000 Subject: move functionality, refresh static function prototypes in main-window, add/remove status icon without restart --- src/trg-main-window.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'src/trg-main-window.h') 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_ */ -- cgit v1.2.3