mirror of
https://github.com/tstellar/bygfoot.git
synced 2024-12-16 10:21:15 +01:00
deleted debug messages
This commit is contained in:
parent
5e9ef87e1d
commit
a15fe37b66
@ -232,13 +232,6 @@ on_player_list1_button_press_event (GtkWidget *widget,
|
||||
{
|
||||
gint idx = -1;
|
||||
|
||||
gchar message[SMALL];
|
||||
sprintf(message, "Number of player in current team: %d", current_user.tm->players->len);
|
||||
debug_writer_out("callbacks.c",
|
||||
"on_player_list1_button_press_event",
|
||||
message,
|
||||
3);
|
||||
|
||||
if(event->button == 2)
|
||||
{
|
||||
on_menu_rearrange_team_activate(NULL, NULL);
|
||||
@ -258,12 +251,7 @@ on_player_list1_button_press_event (GtkWidget *widget,
|
||||
selected_row = -1;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
sprintf(message, "Selected row of the player list: %d", selected_row);
|
||||
debug_writer_out("callbacks.c", "on_player_list1_button_press_event", message, 3);
|
||||
sprintf(message, "Index of a player in player list: %d", idx - 1);
|
||||
debug_writer_out("callbacks.c", "on_player_list1_button_press_event", message, 3);
|
||||
|
||||
|
||||
callback_player_clicked(idx - 1, event);
|
||||
|
||||
return FALSE;
|
||||
@ -282,10 +270,6 @@ on_player_list1_key_press_event (GtkWidget *widget,
|
||||
|
||||
idx = treeview_helper_get_index(GTK_TREE_VIEW(widget), 0);
|
||||
|
||||
gchar message[SMALL];
|
||||
sprintf(message, "Index of a player in player list: %d", idx);
|
||||
debug_writer_out("callbacks.c", "on_player_list1_key_press_event", message, 3);
|
||||
|
||||
if(idx < 0 || idx - 1 == selected_row)
|
||||
{
|
||||
selected_row = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user