GCC 4.7 fixes.

(cherry picked from commit 5106117b5c)
v3.5.13-sru
Darrell Anderson 12 years ago committed by Slávek Banko
parent bd8cc27bb4
commit 4dbd244d26

@ -1003,11 +1003,16 @@ int main(int argc, char **argv) {
gstapp->exec ();
XLockDisplay(display);
XClientMessageEvent ev = {
ClientMessage, 0, true, display, wid,
XInternAtom (display, "XVIDEO", false), 8, {b: "quit_now"}
};
XSendEvent (display, wid, false, StructureNotifyMask, (XEvent *) & ev);
XEvent ev;
ev.xclient.type = ClientMessage;
ev.xclient.serial = 0;
ev.xclient.send_event = true;
ev.xclient.display = display;
ev.xclient.window = wid;
ev.xclient.message_type = XInternAtom (display, "XVIDEO", false);
ev.xclient.format = 8;
strcpy(ev.xclient.data.b, "quit_now");
XSendEvent (display, wid, false, StructureNotifyMask, &ev);
XFlush (display);
XUnlockDisplay(display);
eventThread->wait (500);

@ -17,6 +17,8 @@
#undef Always
#include <unistd.h>
// include files for QT
#include <tqdatastream.h>
#include <tqregexp.h>

Loading…
Cancel
Save