Kaydet (Commit) d3daec09 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Turn Gtk3 vclplugin #warnings into //FIXMEs

...to be able to remove the sledgehammer gb_Library_set_warnigns_not_errors.

Change-Id: Ib2cde5bbeaa1fb4dba629c51c493b77523455ff9
üst 1e25d6d9
...@@ -171,7 +171,7 @@ GdkFilterReturn GtkSalDisplay::filterGdkEvent( GdkXEvent* sys_event, ...@@ -171,7 +171,7 @@ GdkFilterReturn GtkSalDisplay::filterGdkEvent( GdkXEvent* sys_event,
return aFilterReturn; return aFilterReturn;
#else #else
(void) sys_event; (void) sys_event;
#warning FIXME: implement filterGdkEvent ... //FIXME: implement filterGdkEvent ...
return GDK_FILTER_CONTINUE; return GDK_FILTER_CONTINUE;
#endif #endif
} }
...@@ -714,7 +714,7 @@ void GtkData::Init() ...@@ -714,7 +714,7 @@ void GtkData::Init()
gdk_error_trap_pop(); gdk_error_trap_pop();
GetGtkDisplay()->SetKbdExtension( pKbdExtension ); GetGtkDisplay()->SetKbdExtension( pKbdExtension );
#else #else
# warning unwind keyboard extension bits //FIXME: unwind keyboard extension bits
#endif #endif
// add signal handler to notify screen size changes // add signal handler to notify screen size changes
......
...@@ -218,7 +218,7 @@ SalObject* GtkInstance::CreateObject( SalFrame* pParent, SystemWindowData* pWind ...@@ -218,7 +218,7 @@ SalObject* GtkInstance::CreateObject( SalFrame* pParent, SystemWindowData* pWind
return X11SalObject::CreateObject( pParent, pWindowData, bShow ); return X11SalObject::CreateObject( pParent, pWindowData, bShow );
#else #else
(void)pWindowData; (void)pWindowData;
#warning FIXME: Missing CreateObject functionality ... //FIXME: Missing CreateObject functionality ...
#endif #endif
return new GtkSalObject( static_cast<GtkSalFrame*>(pParent), bShow ); return new GtkSalObject( static_cast<GtkSalFrame*>(pParent), bShow );
......
...@@ -1199,7 +1199,7 @@ static void lcl_set_accept_focus( GtkWindow* pWindow, gboolean bAccept, bool bBe ...@@ -1199,7 +1199,7 @@ static void lcl_set_accept_focus( GtkWindow* pWindow, gboolean bAccept, bool bBe
} }
#else #else
(void)pWindow; (void)bAccept; (void)bBeforeRealize; (void)pWindow; (void)bAccept; (void)bBeforeRealize;
# warning FIXME: No set_accept_focus impl //FIXME: No set_accept_focus impl
#endif #endif
} }
...@@ -1234,7 +1234,7 @@ static void lcl_set_user_time( GtkWindow* i_pWindow, guint32 i_nTime ) ...@@ -1234,7 +1234,7 @@ static void lcl_set_user_time( GtkWindow* i_pWindow, guint32 i_nTime )
} }
#else #else
(void)i_pWindow; (void)i_nTime; (void)i_pWindow; (void)i_nTime;
# warning FIXME: no lcl_set_user_time impl. //FIXME: no lcl_set_user_time impl.
#endif #endif
}; };
...@@ -1398,7 +1398,7 @@ GdkNativeWindow GtkSalFrame::findTopLevelSystemWindow( GdkNativeWindow aWindow ) ...@@ -1398,7 +1398,7 @@ GdkNativeWindow GtkSalFrame::findTopLevelSystemWindow( GdkNativeWindow aWindow )
return aWindow; return aWindow;
#else #else
(void)aWindow; (void)aWindow;
# warning FIXME: no findToplevelSystemWindow //FIXME: no findToplevelSystemWindow
return 0; return 0;
#endif #endif
} }
...@@ -1453,7 +1453,7 @@ void GtkSalFrame::Init( SystemParentData* pSysData ) ...@@ -1453,7 +1453,7 @@ void GtkSalFrame::Init( SystemParentData* pSysData )
0, 0 ); 0, 0 );
} }
#else #else
#warning Handling embedded windows, is going to be fun ... //FIXME: Handling embedded windows, is going to be fun ...
#endif #endif
} }
...@@ -1480,7 +1480,7 @@ void GtkSalFrame::askForXEmbedFocus( sal_Int32 i_nTimeCode ) ...@@ -1480,7 +1480,7 @@ void GtkSalFrame::askForXEmbedFocus( sal_Int32 i_nTimeCode )
GetGenericData()->ErrorTrapPop(); GetGenericData()->ErrorTrapPop();
#else #else
(void)i_nTimeCode; (void)i_nTimeCode;
#warning FIXME: no askForXEmbedFocus for gtk3 yet //FIXME: no askForXEmbedFocus for gtk3 yet
#endif #endif
} }
...@@ -2747,7 +2747,7 @@ void GtkSalFrame::grabPointer( bool bGrab, bool bOwnerEvents ) ...@@ -2747,7 +2747,7 @@ void GtkSalFrame::grabPointer( bool bGrab, bool bOwnerEvents )
} }
#else #else
(void)bGrab; (void) bOwnerEvents; (void)bGrab; (void) bOwnerEvents;
#warning FIXME: No GrabPointer implementation for gtk3 ... //FIXME: No GrabPointer implementation for gtk3 ...
#endif #endif
} }
...@@ -2801,9 +2801,9 @@ OUString GtkSalFrame::GetKeyName( sal_uInt16 nKeyCode ) ...@@ -2801,9 +2801,9 @@ OUString GtkSalFrame::GetKeyName( sal_uInt16 nKeyCode )
#if !GTK_CHECK_VERSION(3,0,0) #if !GTK_CHECK_VERSION(3,0,0)
return getDisplay()->GetKeyName( nKeyCode ); return getDisplay()->GetKeyName( nKeyCode );
#else #else
(void)nKeyCode; (void)nKeyCode;
# warning FIXME - key names //FIXME: key names
return OUString(); return OUString();
#endif #endif
} }
...@@ -3038,7 +3038,7 @@ bool GtkSalFrame::SetPluginParent( SystemParentData* pSysParent ) ...@@ -3038,7 +3038,7 @@ bool GtkSalFrame::SetPluginParent( SystemParentData* pSysParent )
return true; return true;
#else #else
(void)pSysParent; (void)pSysParent;
#warning FIXME: no SetPluginParent impl. for gtk3 //FIXME: no SetPluginParent impl. for gtk3
return false; return false;
#endif #endif
} }
...@@ -3635,7 +3635,7 @@ gboolean GtkSalFrame::signalMap( GtkWidget *pWidget, GdkEvent*, gpointer frame ) ...@@ -3635,7 +3635,7 @@ gboolean GtkSalFrame::signalMap( GtkWidget *pWidget, GdkEvent*, gpointer frame )
} }
#else #else
(void)pWidget; (void)bSetFocus; (void)pWidget; (void)bSetFocus;
# warning FIXME no set input focus ... //FIXME: no set input focus ...
#endif #endif
pThis->CallCallback( SALEVENT_RESIZE, NULL ); pThis->CallCallback( SALEVENT_RESIZE, NULL );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment