diff options
Diffstat (limited to 'gtk.c')
-rw-r--r-- | gtk.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -50,7 +50,7 @@ static void connect_cb(void) { gtk_stack_set_visible_child(GTK_STACK(stack), roster_layout_box); // just dummy output - printf("Connecting with:\nJID: %s\nPWD: %s\n", jid_text, pwd_text); + fprintf(stderr, "Connecting with:\nJID: %s\nPWD: %s\n", jid_text, pwd_text); net_connect(jid_text, pwd_text); } @@ -60,7 +60,7 @@ static void disconnect_cb(void) { gtk_stack_set_visible_child(GTK_STACK(stack), connector_box); // just dummy output - printf("Disconnected!\n"); + fprintf(stderr, "Disconnected!\n"); net_disconnect(); } @@ -232,10 +232,10 @@ void gui_add_roster_item_widget(roster_item_t* item) { // print debug message if (item->name) { - printf("roster item: %s, %s, sub:%d\n", item->name, item->jid, + fprintf(stderr, "roster item: %s, %s, sub:%d\n", item->name, item->jid, item->sub); } else { - printf("roster item: (no name), %s, sub:%d\n", item->jid, item->sub); + fprintf(stderr, "roster item: (no name), %s, sub:%d\n", item->jid, item->sub); } // create widget for roster item |