diff options
Diffstat (limited to 'gtk2_ardour/about.cc')
-rw-r--r-- | gtk2_ardour/about.cc | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/gtk2_ardour/about.cc b/gtk2_ardour/about.cc index d384daae32..322f81f8da 100644 --- a/gtk2_ardour/about.cc +++ b/gtk2_ardour/about.cc @@ -228,20 +228,11 @@ About::About () Gtk::Button* config_button = manage (new Button (_("Config"))); get_action_area()->pack_start (*config_button, false, false); config_button->signal_clicked().connect (mem_fun (*this, &About::show_config_info)); - -#ifdef WITH_PAYMENT_OPTIONS - paypal_button.add (paypal_pixmap); - - HBox *payment_box = manage (new HBox); - payment_box->pack_start (paypal_button, true, false); - - subvbox.pack_start (*payment_box, false, false); -#endif - } About::~About () { + delete config_info; } void @@ -254,37 +245,3 @@ About::show_config_info () config_info->present (); } -#ifdef WITH_PAYMENT_OPTIONS -void -About::goto_paypal () -{ - char buf[PATH_MAX+16]; - char *argv[4]; - char *docfile = "foo"; - int grandchild; - - if (fork() == 0) { - - /* child */ - - if ((grandchild = fork()) == 0) { - - /* grandchild */ - - argv[0] = "mozilla"; - argv[1] = "-remote"; - snprintf (buf, sizeof(buf), "openurl(%s)", docfile); - argv[2] = buf; - argv[3] = 0; - - execvp ("mozilla", argv); - error << "could not start mozilla" << endmsg; - - } else { - int status; - waitpid (grandchild, &status, 0); - } - - } -} -#endif |