diff options
Diffstat (limited to 'extensions/source/plugin/unx/npnapi.cxx')
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index 90b82bcad108..09fea9224638 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -410,7 +410,7 @@ static NPError l_NPN_GetValue( NPP, NPNVariable variable, void* value ) SAL_INFO("extensions.plugin", "xembed requested"); break; case NPNVToolkit: -# ifdef ENABLE_GTK +# if ENABLE_GTK *(int*)value = NPNVGtk2; # else *(int*)value = 0; @@ -589,7 +589,7 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) "0000", 4, NULL ); - #ifdef ENABLE_GTK + #if ENABLE_GTK if( pInst->pGtkWindow ) g_object_unref( G_OBJECT(pInst->pGtkWindow) ); if( pInst->pGtkWidget ) @@ -675,7 +675,7 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) " \"" << pInst->argn[i] << "\"=\"" << pInst->argv[i] << "\""); - #ifdef ENABLE_GTK + #if ENABLE_GTK // check if XEMBED is to be used // ask for Bool. there seems to be no clear definition whether the // return value should be an int or unsigned char @@ -712,7 +712,7 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ ) if( pWindow->height < 1 ) pWindow->height = 1; - #ifdef ENABLE_GTK + #if ENABLE_GTK if( pInst->bShouldUseXEmbed ) { if( ! pInst->pGtkWidget ) |