mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 23:25:03 +00:00
Moving old clipboard into #ifdef-land.
This commit is contained in:
parent
88df2ac956
commit
4d3ee18120
@ -33,7 +33,12 @@
|
||||
|
||||
#include "nsGtkEventHandler.h"
|
||||
#include "nsAppShell.h"
|
||||
|
||||
#ifndef NEW_CLIPBOARD_SUPPORT
|
||||
#include "nsSelectionMgr.h"
|
||||
#else
|
||||
#include "nsClipboard.h"
|
||||
#endif
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
@ -243,7 +248,12 @@ NS_METHOD nsWindow::CreateNative(GtkWidget *parentWidget)
|
||||
"delete_event",
|
||||
GTK_SIGNAL_FUNC(handle_delete_event),
|
||||
this);
|
||||
|
||||
#ifdef NEW_CLIPBOARD_SUPPORT
|
||||
// Call SetTopLevelWidget here?
|
||||
#else
|
||||
nsSelectionMgr::SetTopLevelWidget(mShell);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Force cursor to default setting
|
||||
|
Loading…
x
Reference in New Issue
Block a user