VirtualBox

Changeset 102026 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Nov 9, 2023 12:10:01 PM (13 months ago)
Author:
vboxsync
Message:

Additions: X11/Wayland: Another attempt to fix build, bugref:10194.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/vboxwl.cpp

    r102025 r102026  
    103103 * @param pvUser            User data.
    104104 */
    105 static DECLCALLBACK(void) vboxwl_gtk_clipboard_read(GtkClipboard* pClipboard,
    106                                                     GtkSelectionData* pSelectionData,
    107                                                     gpointer pvUser)
     105static void vboxwl_gtk_clipboard_read(GtkClipboard* pClipboard,
     106                                      GtkSelectionData* pSelectionData,
     107                                      gpointer pvUser)
    108108{
    109109    guchar *pData;
     
    257257 * @param pvUser            User data.
    258258 */
    259 static DECLCALLBACK(void) vboxwl_gtk_clipboard_write(GtkClipboard *pClipboard,
    260                                                      GtkSelectionData *pSelectionData,
    261                                                      guint info, gpointer pvUser)
     259static void vboxwl_gtk_clipboard_write(GtkClipboard *pClipboard,
     260                                       GtkSelectionData *pSelectionData,
     261                                       guint info, gpointer pvUser)
    262262{
    263263    GdkAtom target = gtk_selection_data_get_target(pSelectionData);
     
    314314 * @param pvUser        User data.
    315315 */
    316 static DECLCALLBACK(void) vboxwl_gtk_clipboard_write_fini(GtkClipboard *pClipboard, gpointer pvUser)
     316static void vboxwl_gtk_clipboard_write_fini(GtkClipboard *pClipboard, gpointer pvUser)
    317317{
    318318    VBCL_LOG_CALLBACK;
     
    402402 * @param   pvUser    User data.
    403403 */
    404 static DECLCALLBACK(gboolean) vboxwl_gtk_watchdog(gpointer pvUser)
     404static gboolean vboxwl_gtk_watchdog(gpointer pvUser)
    405405{
    406406    RT_NOREF(pvUser);
    407 
    408     //VBCL_LOG_CALLBACK;
    409407
    410408    if (   g_tsGtkQuit > 0
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper-dcp.cpp

    r102025 r102026  
    538538 * @param uVersion          Interface version.
    539539 */
    540 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_registry_global_handler(
     540static void vbcl_wayland_hlp_dcp_registry_global_handler(
    541541    void *pvUser, struct wl_registry *pRegistry, uint32_t uName, const char *sIface, uint32_t uVersion)
    542542{
     
    565565 * @param uName             Numeric name of the global object.
    566566 */
    567 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_registry_global_remove_handler(
     567static void vbcl_wayland_hlp_dcp_registry_global_remove_handler(
    568568    void *pvUser, struct wl_registry *pRegistry, uint32_t uName)
    569569{
     
    651651 * @param sMimeType         Mime-type of newly available clipboard data.
    652652 */
    653 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_data_control_offer_offer(
     653static void vbcl_wayland_hlp_dcp_data_control_offer_offer(
    654654    void *pvUser, struct zwlr_data_control_offer_v1 *pOffer, const char *sMimeType)
    655655{
     
    877877 * @param pOffer            Wayland Data Control Offer object.
    878878 */
    879 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_data_device_data_offer(
     879static void vbcl_wayland_hlp_dcp_data_device_data_offer(
    880880    void *pvUser, struct zwlr_data_control_device_v1 *pDevice, struct zwlr_data_control_offer_v1 *pOffer)
    881881{
     
    929929 * @param pOffer            Wayland Data Control Offer object.
    930930 */
    931 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_data_device_selection(
     931static void vbcl_wayland_hlp_dcp_data_device_selection(
    932932    void *pvUser, struct zwlr_data_control_device_v1 *pDevice, struct zwlr_data_control_offer_v1 *pOffer)
    933933{
     
    966966 * @param pOffer            Wayland Data Control Offer object.
    967967 */
    968 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_data_device_primary_selection(
     968static void vbcl_wayland_hlp_dcp_data_device_primary_selection(
    969969    void *pvUser, struct zwlr_data_control_device_v1 *pDevice, struct zwlr_data_control_offer_v1 *pOffer)
    970970{
     
    10011001 * @param fd                A file descriptor to write clipboard content into.
    10021002 */
    1003 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_data_source_send(
     1003static void vbcl_wayland_hlp_dcp_data_source_send(
    10041004    void *pvUser, struct zwlr_data_control_source_v1 *pDataSource,
    10051005    const char *sMimeType, int32_t fd)
     
    10361036 * @param pDataSource       Wayland Data Control Source object.
    10371037 */
    1038 static DECLCALLBACK(void) vbcl_wayland_hlp_dcp_data_source_cancelled(
     1038static void vbcl_wayland_hlp_dcp_data_source_cancelled(
    10391039    void *pvData, struct zwlr_data_control_source_v1 *pDataSource)
    10401040{
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette