wok-next view blackbox/stuff/textpropertytostring-unconditional.patch @ rev 14522
Up: transmission (2.52)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri May 17 03:18:43 2013 +0000 (2013-05-17) |
parents | |
children |
line source
1 Description: Declare bt::textPropertyToString unconditionally.
2 Author: Jakub Wilk <jwilk@debian.org>
3 Forwarded: no
4 Bug-Debian: http://bugs.debian.org/614468
5 Last-Update: 2011-03-12
7 --- a/lib/Util.hh
8 +++ b/lib/Util.hh
9 @@ -25,6 +25,8 @@
10 #ifndef __Util_hh
11 #define __Util_hh
13 +#include <X11/Xutil.h>
14 +
15 #include <limits.h>
16 #include <string>
18 @@ -94,10 +96,8 @@
20 std::string tolower(const std::string &string);
22 -#ifdef _XUTIL_H_
23 std::string textPropertyToString(::Display *display,
24 ::XTextProperty& text_prop);
25 -#endif
27 } // namespace bt