From 11f972aee4d2af1b4765211ee155b621fb412a65 Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Tue, 23 Aug 2011 08:29:46 -0400 Subject: [PATCH] ocarina: Load a file through the gui I call the new libsaria load function with a file selected through the gui. --- gui/button.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/button.cpp b/gui/button.cpp index 5f80ce76..2e00c07c 100644 --- a/gui/button.cpp +++ b/gui/button.cpp @@ -54,6 +54,7 @@ static void on_click_open_file(GtkWidget *b, GdkEvent *e, gpointer d) { string file = ocarina_choose_file(); print("Playing file: " + file); + libsaria_get()->load(file); } GtkWidget *make_open_button(GtkIconSize size)