From 6bc25aab3fe4f38d6b71aad12419b3423b1757a5 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Mon, 31 Oct 2011 14:29:33 +0000 Subject: issue 161 --- src/main.c | 3 +-- src/trg-main-window.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index b0f3cf1..647307e 100644 --- a/src/main.c +++ b/src/main.c @@ -203,7 +203,7 @@ static int mailslot_send_message(HANDLE h, gchar **args) { g_strfreev(args); } - json_object_set_boolean_member(obj, "present", TRUE); + //json_object_set_boolean_member(obj, "present", TRUE); json_node_take_object(node, obj); @@ -368,7 +368,6 @@ int main(int argc, char *argv[]) { #ifdef HAVE_LIBUNIQUE if (withUnique) { - unique_app_watch_window(app, GTK_WINDOW(window)); g_signal_connect(app, "message-received", G_CALLBACK(message_received_cb), window); } diff --git a/src/trg-main-window.c b/src/trg-main-window.c index d4a67e3..cdcb8ae 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -1129,7 +1129,7 @@ static gboolean torrent_selection_changed(GtkTreeSelection * selection, GtkTreeIter iter; if (gtk_tree_model_get_iter(priv->sortedTorrentModel, &iter, (GtkTreePath *) firstNode->data)) { - gtk_tree_model_get(GTK_TREE_MODEL(priv->sortedTorrentModel), &iter, + gtk_tree_model_get(priv->sortedTorrentModel, &iter, TORRENT_COLUMN_ID, &id, -1); } } -- cgit v1.2.3