[gtk+] wayland: Fix indentation of previous commit



commit 9259ca98f3d15e626d703764b91829e7b1240288
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 45d89f8..846972a 100644
--- a/gdk/wayland/gdkselection-wayland.c
+++ b/gdk/wayland/gdkselection-wayland.c
@@ -1296,10 +1296,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]