[gtk+/wip/garnacho/dnd-grab: 1/5] x11: Initialize GdkWindowAttr struct memory
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/garnacho/dnd-grab: 1/5] x11: Initialize GdkWindowAttr struct memory
- Date: Fri, 8 Jan 2016 20:37:36 +0000 (UTC)
commit 09529d234be7ffdaa8db9201bc1723111af358f6
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Jan 7 18:55:04 2016 +0100
x11: Initialize GdkWindowAttr struct memory
gdk/x11/gdkdnd-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index 86ecb82..69f1b94 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -1939,7 +1939,7 @@ gdk_drag_do_leave (GdkX11DragContext *context_x11,
static GdkWindow *
create_drag_window (GdkScreen *screen)
{
- GdkWindowAttr attrs;
+ GdkWindowAttr attrs = { 0 };
guint mask;
attrs.x = attrs.y = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]