[gtk+] x11: Fix erroneous & to be &&



commit 5a0fb278d118fe8ef2d6a330e5ffd3983406d044
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Thu Dec 14 13:34:06 2017 +0100

    x11: Fix erroneous & to be &&

 gdk/x11/gdkselectionoutputstream-x11.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkselectionoutputstream-x11.c b/gdk/x11/gdkselectionoutputstream-x11.c
index fbca038..405a49d 100644
--- a/gdk/x11/gdkselectionoutputstream-x11.c
+++ b/gdk/x11/gdkselectionoutputstream-x11.c
@@ -309,7 +309,7 @@ gdk_x11_selection_output_stream_invoke_flush (gpointer data)
 {
   GdkX11SelectionOutputStream *stream = GDK_X11_SELECTION_OUTPUT_STREAM (data);
 
-  if (gdk_x11_selection_output_stream_needs_flush (stream) &
+  if (gdk_x11_selection_output_stream_needs_flush (stream) &&
       gdk_x11_selection_output_stream_can_flush (stream))
     gdk_x11_selection_output_stream_perform_flush (stream);
 
@@ -615,7 +615,7 @@ gdk_x11_selection_output_stream_xevent (GdkDisplay   *display,
       GDK_NOTE(SELECTION, g_printerr ("%s:%s: got PropertyNotify Delete during INCR\n",
                                       priv->selection, priv->target));
       priv->delete_pending = FALSE;
-      if (gdk_x11_selection_output_stream_needs_flush (stream) &
+      if (gdk_x11_selection_output_stream_needs_flush (stream) &&
           gdk_x11_selection_output_stream_can_flush (stream))
         gdk_x11_selection_output_stream_perform_flush (stream);
       return FALSE;


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