X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fsoundcloud_export_selector.cc;h=4a7b1849b1607d86a22b4b3d02088eb1095b79d1;hb=5b2eb6107c3ae056e7c27182008b46b4df5c2b28;hp=8ecdf5d49bbb3ddda997f64dcb56243bd697cd13;hpb=f0dbd6c0855e76a87d97a1774f2e97a5b9211ae6;p=ardour.git diff --git a/gtk2_ardour/soundcloud_export_selector.cc b/gtk2_ardour/soundcloud_export_selector.cc index 8ecdf5d49b..4a7b1849b1 100644 --- a/gtk2_ardour/soundcloud_export_selector.cc +++ b/gtk2_ardour/soundcloud_export_selector.cc @@ -20,6 +20,8 @@ *************************************************************************************/ +#include + #include "ardour/debug.h" #include "ardour/soundcloud_upload.h" #include "soundcloud_export_selector.h" @@ -30,9 +32,9 @@ #include #include #include -#include +#include "pbd/gstdio_compat.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace PBD; @@ -71,7 +73,7 @@ SoundcloudExportSelector::SoundcloudExportSelector () : sc_table.set_row_spacings (5); sc_frame->add (sc_table); - sc_table.attach ( *(Gtk::manage (new Gtk::Image (get_icon (X_("soundcloud"))))) , 0, 1, 0, 2); + sc_table.attach ( *(Gtk::manage (new Gtk::Image (ARDOUR_UI_UTILS::get_icon (X_("soundcloud"))))) , 0, 1, 0, 2); sc_table.attach (soundcloud_username_label, 0, 1, 1, 2); sc_table.attach (soundcloud_username_entry, 1, 3, 1, 2); @@ -89,7 +91,7 @@ SoundcloudExportSelector::SoundcloudExportSelector () : int SoundcloudExportSelector::do_progress_callback (double ultotal, double ulnow, const std::string &filename) { - DEBUG_TRACE (DEBUG::Soundcloud, string_compose ("SoundcloudExportSelector::do_progress_callback(%1, %2, %3)", ultotal, ulnow, filename)); + DEBUG_TRACE (DEBUG::Soundcloud, string_compose ("SoundcloudExportSelector::do_progress_callback(%1, %2, %3)\n", ultotal, ulnow, filename)); if (soundcloud_cancel) { progress_bar.set_fraction (0); // cancel_button.set_label (""); @@ -110,4 +112,3 @@ SoundcloudExportSelector::do_progress_callback (double ultotal, double ulnow, co return 0; } -