Use new init_clipboard() function which initializes the global be_clipboard at libbe init time.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10705 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
caf19c8b0a
commit
5fa518561e
12
headers/private/app/ClipboardPrivate.h
Normal file
12
headers/private/app/ClipboardPrivate.h
Normal file
@ -0,0 +1,12 @@
|
||||
// ClipboardPrivate.h
|
||||
|
||||
#ifndef _CLIPBOARD_PRIVATE_H
|
||||
#define _CLIPBOARD_PRIVATE_H
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
void init_clipboard();
|
||||
|
||||
};
|
||||
|
||||
#endif // _CLIPBOARD_PRIVATE_H
|
@ -25,6 +25,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ClipboardPrivate.h>
|
||||
#include <MessagePrivate.h>
|
||||
#include <RosterPrivate.h>
|
||||
|
||||
@ -42,6 +43,7 @@ DBG(OUT("initialize_before()\n"));
|
||||
|
||||
_init_message_();
|
||||
_init_roster_();
|
||||
BPrivate::init_clipboard();
|
||||
|
||||
DBG(OUT("initialize_before() done\n"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user