VirtualBox

Changeset 22097 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 7, 2009 10:28:54 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/VBoxClient: remove unneeded function from the seamless testcase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/testcase/tstSeamlessX11-auto.cpp

    r21638 r22097  
    200200            *window_attributes_return = g_paSmlsWinAttribs[i];
    201201            return 1;
    202         }
    203     return 0;
    204 }
    205 
    206 extern "C" Status XFetchName(Display *display, Window w,
    207                              char **window_name_return);
    208 Status XFetchName(Display *display, Window w, char **window_name_return)
    209 {
    210     AssertPtrReturn(window_name_return, 1);
    211     for (unsigned i = 0; i < g_cSmlsWindows; ++i)
    212         if (g_paSmlsWindows[i] == w)
    213         {
    214             *window_name_return = (char *)RTMemDup(g_papszSmlsWinNames[i],
    215                                            strlen(g_papszSmlsWinNames[i]) + 1);
    216             return *window_name_return != NULL;
    217202        }
    218203    return 0;
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