+ gtk_window_get_size(GTK_WINDOW(g_window), &width, &height);
+ printf("write_config %d, %d\n", width, height);
+
+ // GTK incapacity to return (width, height) of the window is really annoying
+ gdk_window_get_geometry(GTK_WIDGET(g_window)->window, &x, &y, &width, &height, &depth);
+ printf(" write_config %d, %d, %d, %d\n", x, y, width, height);
+
+ //Window xid = GDK_WINDOW_XWINDOW(GTK_WIDGET(g_window)->window);
+ //gdk_window_get_frame_extentsGTK_WINDOW(g_window), &rect);
+ //printf(" write_config %d, %d\n", rec.width, rec.height);
+
+/*
+ path = gtk_tree_path_new_from_indices( playlist_pos, -1 );
+ sel = gtk_tree_view_get_selection( (GtkTreeView*)list_view );
+ gtk_tree_selection_select_path( sel, path );
+ gtk_tree_path_free( path );
+ */