[nautilus] overlay-child: make sure to intialize required fields
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] overlay-child: make sure to intialize required fields
- Date: Sun, 20 Feb 2011 04:46:40 +0000 (UTC)
commit bdb71b79540e5a7265ff08bf4353dd580c32411a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Feb 19 23:44:19 2011 -0500
overlay-child: make sure to intialize required fields
src/gedit-overlay-child.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gedit-overlay-child.c b/src/gedit-overlay-child.c
index ed52174..3d4a47d 100644
--- a/src/gedit-overlay-child.c
+++ b/src/gedit-overlay-child.c
@@ -113,6 +113,8 @@ gedit_overlay_child_realize (GtkWidget *widget)
attributes.window_type = GDK_WINDOW_CHILD;
attributes.wclass = GDK_INPUT_OUTPUT;
attributes.event_mask = GDK_EXPOSURE_MASK;
+ attributes.width = 0;
+ attributes.height = 0;
window = gdk_window_new (parent_window, &attributes, 0);
gdk_window_set_user_data (window, widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]