lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] [PATCH] Remove platform-specific code in the pasting text


From: Vadim Zeitlin
Subject: [lmi] [PATCH] Remove platform-specific code in the pasting text
Date: Thu, 5 Feb 2015 19:38:38 +0100

 Hello,

 I've recently mentioned that checking for GTK+ 2 in lmi configure
prevented it from building with GTK+ 3, but that this check couldn't be
removed as long as we used GTK+ functions directly in the code. I've now
confirmed that using g_signal_emit_by_name() was unnecessary and that the
tests work just fine if we simply use wxTextCtrl::Paste() instead and the
attached patch does just this. If you could please commit it, I would then
commit the (trivial) change to configure.ac removing the GTK+ test and
allowing to build lmi with GTK+ 3 out of the box.

 Thanks in advance,
VZ

Attachment: Use-wxTextCtrl-Paste-instead-of-platform-specific-code.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]