projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade to ffmpeg-2.8
[goodguy/history.git]
/
cinelerra-5.0
/
plugins
/
svg
/
svgwin.C
diff --git
a/cinelerra-5.0/plugins/svg/svgwin.C
b/cinelerra-5.0/plugins/svg/svgwin.C
index e4d92ee3f8110b05ca07c16c2301172d088cf8dc..ec69d0889a12eb042fadd1b396296d0d55b79b8f 100644
(file)
--- a/
cinelerra-5.0/plugins/svg/svgwin.C
+++ b/
cinelerra-5.0/plugins/svg/svgwin.C
@@
-22,8
+22,9
@@
#include "bcdisplayinfo.h"
#include "clip.h"
#include "svgwin.h"
#include "bcdisplayinfo.h"
#include "clip.h"
#include "svgwin.h"
-#include "string.h"
#include "filexml.h"
#include "filexml.h"
+#include "language.h"
+#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
@@
-35,19
+36,8
@@
struct fifo_struct {
int action; // 1 = update from client, 2 = client closes
};
int action; // 1 = update from client, 2 = client closes
};
-
-#include <libintl.h>
-#define _(String) gettext(String)
-#define gettext_noop(String) String
-#define N_(String) gettext_noop (String)
-
#include "empty_svg.h"
#include "empty_svg.h"
-
-
-
-
-
SvgWin::SvgWin(SvgMain *client)
: PluginClientWindow(client, 300, 280, 300, 280, 1)
{
SvgWin::SvgWin(SvgMain *client)
: PluginClientWindow(client, 300, 280, 300, 280, 1)
{
@@
-302,7
+292,7
@@
void EditSvgButton::run()
strcpy(filename_fifo, filename_png);
strcat(filename_fifo, ".fifo");
if (mkfifo(filename_fifo, S_IRWXU) != 0) {
strcpy(filename_fifo, filename_png);
strcat(filename_fifo, ".fifo");
if (mkfifo(filename_fifo, S_IRWXU) != 0) {
- perror(
"Error while creating fifo file"
);
+ perror(
_("Error while creating fifo file")
);
}
fh_fifo = open(filename_fifo, O_RDWR);
fifo_buf.action = 0;
}
fh_fifo = open(filename_fifo, O_RDWR);
fifo_buf.action = 0;