mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 06:52:25 +00:00
r=pavlov, sr=blizzard, a=blizzard Change OS/2 to use real XPCOM component registration to fix printing
This commit is contained in:
parent
6d60678c7a
commit
b4312e7eaa
@ -115,7 +115,7 @@ static NS_DEFINE_IID(kCTextAreaCID, NS_TEXTAREA_CID);
|
||||
#endif
|
||||
|
||||
// GFXWIN
|
||||
#ifndef XP_UNIX
|
||||
#if !defined(XP_UNIX) && !defined(XP_OS2)
|
||||
static NS_DEFINE_CID(kCRenderingContextCID, NS_RENDERING_CONTEXT_CID);
|
||||
static NS_DEFINE_CID(kCDeviceContextCID, NS_DEVICE_CONTEXT_CID);
|
||||
static NS_DEFINE_CID(kCFontMetricsCID, NS_FONT_METRICS_CID);
|
||||
@ -210,7 +210,7 @@ NS_SetupRegistry()
|
||||
#endif
|
||||
|
||||
// GFXWIN
|
||||
#ifndef XP_UNIX
|
||||
#if !defined(XP_UNIX) && !defined(XP_OS2)
|
||||
nsComponentManager::RegisterComponentLib(kCRenderingContextCID, "Rendering Context", "@mozilla.org/gfx/renderingcontext;1", GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponentLib(kCDeviceContextCID, "Device Context", "@mozilla.org/gfx/devicecontext;1", GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponentLib(kCFontMetricsCID, "Font Metrics", "@mozilla.org/gfx/fontmetrics;1", GFXWIN_DLL, PR_FALSE, PR_FALSE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user