summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c3
-rw-r--r--src/trg-main-window.c2
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);
}
}