aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context_qt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/context_qt.cpp')
-rw-r--r--lang/cpp/src/context_qt.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lang/cpp/src/context_qt.cpp b/lang/cpp/src/context_qt.cpp
index e6d44fa1..2ce0005d 100644
--- a/lang/cpp/src/context_qt.cpp
+++ b/lang/cpp/src/context_qt.cpp
@@ -20,13 +20,9 @@
Boston, MA 02110-1301, USA.
*/
-#include <config-gpgme++.h>
-
#include <global.h>
-#ifdef HAVE_GPGME_GET_FDPTR
extern "C" QIODevice *gpgme_get_fdptr(int);
-#endif
GIOChannel *GpgME::getGIOChannel(int)
{
@@ -35,10 +31,5 @@ GIOChannel *GpgME::getGIOChannel(int)
QIODevice *GpgME::getQIODevice(int fd)
{
-#ifdef HAVE_GPGME_GET_FDPTR
return gpgme_get_fdptr(fd);
-#else
- (void)fd;
- return 0;
-#endif
}