Fix code compilation when configure --enable-generic-umpc code has been used.
authorwwp <wwp@free.fr>
Fri, 4 May 2018 11:35:56 +0000 (13:35 +0200)
committerwwp <wwp@free.fr>
Fri, 4 May 2018 11:35:56 +0000 (13:35 +0200)
src/compose.c

index a49d6addfaa187b4f98067a34c6382856ae981d7..e8bf9c065b64c6eb979c23d5d3f21b0aee2da31f 100644 (file)
@@ -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,