From: wwp Date: Fri, 4 May 2018 11:35:56 +0000 (+0200) Subject: Fix code compilation when configure --enable-generic-umpc code has been used. X-Git-Tag: 3.17.0~124 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=1e582954c1e3b528fdff02e11ffc37e79bcf05a2 Fix code compilation when configure --enable-generic-umpc code has been used. --- diff --git a/src/compose.c b/src/compose.c index a49d6addf..e8bf9c065 100644 --- a/src/compose.c +++ b/src/compose.c @@ -10945,9 +10945,9 @@ static void compose_paste_cb(GtkAction *action, gpointer data) gint prev_autowrap; GtkTextBuffer *buffer; BLOCK_WRAP(); - if (compose->focused_editable && + if (compose->focused_editable #ifndef GENERIC_UMPC - gtk_widget_has_focus(compose->focused_editable) + && gtk_widget_has_focus(compose->focused_editable) #endif ) entry_paste_clipboard(compose, compose->focused_editable,