[gtk+/gtk-3-22] wayland: Fix indentation of previous commit



commit 7d18f2fd3c4d10219cdb86d2d37460cc1ade4d3a
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Wed Nov 29 12:15:30 2017 +0100

    wayland: Fix indentation of previous commit

 gdk/wayland/gdkselection-wayland.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gdk/wayland/gdkselection-wayland.c b/gdk/wayland/gdkselection-wayland.c
index 88ae24d..0087782 100644
--- a/gdk/wayland/gdkselection-wayland.c
+++ b/gdk/wayland/gdkselection-wayland.c
@@ -1287,10 +1287,11 @@ emit_selection_clear (GdkDisplay *display,
   event->selection.time = GDK_CURRENT_TIME;
 
   window = _gdk_wayland_display_get_selection_owner (display, selection);
-  if (window != NULL) {
-    event->selection.window = g_object_ref (window);
-    event->selection.requestor = g_object_ref (window);
-  }
+  if (window != NULL)
+    {
+      event->selection.window = g_object_ref (window);
+      event->selection.requestor = g_object_ref (window);
+    }
 
   gdk_event_put (event);
   gdk_event_free (event);


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