Skip to content

Commit

Permalink
Fixes: Unit test crashes because of missing stubs
Browse files Browse the repository at this point in the history
RevBy: TrustMe
  • Loading branch information
Vesa Halttunen committed Mar 15, 2012
1 parent fccbfba commit cd3d11d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
#include "x11wrapper.h"
#include "notificationsink_stub.h"

// X stubs to avoid crashes
void XSetWMProperties(Display *, Window, XTextProperty *, XTextProperty *, char **, int, XSizeHints *, XWMHints *, XClassHint *)
{
}

WId qWidgetWinId = 0xdeadbeef;
WId QWidget::winId() const
{
Expand Down

0 comments on commit cd3d11d

Please sign in to comment.