ocarina: Move to the new print() function
This commit is contained in:
parent
df1e1a0a9a
commit
e2ee610439
|
@ -36,8 +36,7 @@ gboolean handle_shortcut(GtkWidget *widget, GdkEvent *event, gpointer data)
|
|||
|
||||
it = shortcut_map.find(key);
|
||||
if (it == shortcut_map.end()) {
|
||||
print("No function registered for key: ");
|
||||
println(key);
|
||||
println("No function registered for key: %s", key.c_str());
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -26,8 +26,7 @@ void songlist_row_activated(GtkTreeView *treeview, GtkTreePath *path,
|
|||
GtkTreeModel *model = gtk_tree_view_get_model(treeview);
|
||||
gtk_tree_model_get_iter(model, &iter, path);
|
||||
gtk_tree_model_get(model, &iter, 0, &inode, -1);
|
||||
print("Double click! ");
|
||||
println(inode);
|
||||
println("Double click! %lu", inode);
|
||||
libsaria::library::play_id(inode);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue