ocarina: Move to the new print() function

This commit is contained in:
Bryan Schumaker 2011-12-18 15:07:44 -05:00
parent df1e1a0a9a
commit e2ee610439
2 changed files with 2 additions and 4 deletions

View File

@ -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;
}

View File

@ -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);
}