summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/about.cc45
-rw-r--r--gtk2_ardour/about.h6
2 files changed, 1 insertions, 50 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
diff --git a/gtk2_ardour/about.h b/gtk2_ardour/about.h
index 80e4618d22..dfd7213aa7 100644
--- a/gtk2_ardour/about.h
+++ b/gtk2_ardour/about.h
@@ -33,12 +33,6 @@ class About : public Gtk::AboutDialog
private:
ConfigInfoDialog* config_info;
void show_config_info ();
-
-#ifdef WITH_PAYMENT_OPTIONS
- Gtk::Image paypal_pixmap;
- Gtk::Button paypal_button;
- void goto_paypal ();
-#endif
};
#endif /* __ardour_gtk_about_h__ */