Changeset 6366 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- Jan 17, 2008 9:36:42 AM (17 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedClipboard
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/Makefile.kmk
r5999 r6366 36 36 VBoxSharedClipboard_SOURCES.linux = \ 37 37 linux.cpp 38 VBoxSharedClipboard_SOURCES.solaris = \ 39 linux.cpp 38 40 else 39 41 VBoxSharedClipboard_SOURCES.linux = \ 42 linux-stub.cpp 43 VBoxSharedClipboard_SOURCES.solaris = \ 40 44 linux-stub.cpp 41 45 endif … … 48 52 VBoxSharedClipboard_LIBPATH.linux = \ 49 53 $(VBOX_LIBPATH_X11) 54 VBoxSharedClipboard_LIBPATH.solaris = \ 55 $(VBOX_LIBPATH_X11) 50 56 VBoxSharedClipboard_LIBS.linux = \ 57 Xt \ 58 X11 59 VBoxSharedClipboard_LIBS.solaris = \ 51 60 Xt \ 52 61 X11 -
trunk/src/VBox/HostServices/SharedClipboard/linux.cpp
r5999 r6366 628 628 property.format = 8; 629 629 property.nitems = cbSrcLen; 630 #ifdef RT_OS_SOLARIS 631 rc = XConverterNotFound; 632 NOREF(cProps); 633 #else 630 634 rc = Xutf8TextPropertyToTextList(XtDisplay(g_ctx.widget), &property, &ppu8SrcText, &cProps); 635 #endif 631 636 XtFree(reinterpret_cast<char *>(pValue)); 632 637 if (rc < 0) … … 1408 1413 } 1409 1414 /* And finally (!) convert the Utf8 text to compound text. */ 1415 #ifdef RT_OS_SOLARIS 1416 rc = XConverterNotFound; 1417 #else 1410 1418 rc = Xutf8TextListToTextProperty(XtDisplay(g_ctx.widget), &pu8DestText, 1, 1411 1419 XCompoundTextStyle, &property); 1420 #endif 1412 1421 RTMemFree(pu8DestText); 1413 1422 if (rc < 0)
Note:
See TracChangeset
for help on using the changeset viewer.