mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
remove ofstream from gtk2ardour
This commit is contained in:
parent
97bd6db2b7
commit
c898707bdf
1 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
#include "gtk2ardour-config.h"
|
#include "gtk2ardour-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <fstream>
|
#include "pbd/gstdio_compat.h"
|
||||||
#include <gtkmm/stock.h>
|
#include <gtkmm/stock.h>
|
||||||
|
|
||||||
#include "pbd/openuri.h"
|
#include "pbd/openuri.h"
|
||||||
|
|
@ -136,7 +136,7 @@ NagScreen::mark_never_again ()
|
||||||
|
|
||||||
path = Glib::build_filename (user_config_directory(), ".nevernag");
|
path = Glib::build_filename (user_config_directory(), ".nevernag");
|
||||||
|
|
||||||
ofstream nagfile (path.c_str());
|
g_file_set_contents (path.c_str(), "", -1, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -146,7 +146,7 @@ NagScreen::mark_subscriber ()
|
||||||
|
|
||||||
path = Glib::build_filename (user_config_directory(), ".askedaboutsub");
|
path = Glib::build_filename (user_config_directory(), ".askedaboutsub");
|
||||||
|
|
||||||
ofstream subsfile (path.c_str());
|
g_file_set_contents (path.c_str(), "", -1, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -156,7 +156,7 @@ NagScreen::mark_affirmed_subscriber ()
|
||||||
|
|
||||||
path = Glib::build_filename (user_config_directory(), ".isubscribe");
|
path = Glib::build_filename (user_config_directory(), ".isubscribe");
|
||||||
|
|
||||||
ofstream subsfile (path.c_str());
|
g_file_set_contents (path.c_str(), "", -1, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue