/*
- Copyright (C) 2012 Paul Davis
+ Copyright (C) 2012 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "gtk2ardour-config.h"
#endif
-#include <fstream>
+#include "pbd/gstdio_compat.h"
#include <gtkmm/stock.h>
#include "pbd/openuri.h"
#include "ardour/rc_configuration.h"
#include "nag.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace std;
path = Glib::build_filename (user_config_directory(), ".nevernag");
- ofstream nagfile (path.c_str());
+ g_file_set_contents (path.c_str(), "", -1, NULL);
}
void
path = Glib::build_filename (user_config_directory(), ".askedaboutsub");
- ofstream subsfile (path.c_str());
+ g_file_set_contents (path.c_str(), "", -1, NULL);
}
void
path = Glib::build_filename (user_config_directory(), ".isubscribe");
- ofstream subsfile (path.c_str());
+ g_file_set_contents (path.c_str(), "", -1, NULL);
}
bool