summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-07-25 08:50:47 +0100
committerChris Michael <cp.michael@samsung.com>2013-07-25 08:50:47 +0100
commit6e72cb0573420b8e03a25fe116e7e96ee4cc5758 (patch)
tree8eb9a296694a45545f7867c4c9a53f0f35dbd138
parent2a94274a9938d30c0b895387ce408a903b6f1664 (diff)
By default, set buffer size to 0 on creation.devs/devilhorns/e_wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/bin/e_wayland/e_buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/e_wayland/e_buffer.c b/src/bin/e_wayland/e_buffer.c
index 7a8060cea..3139d77ae 100644
--- a/src/bin/e_wayland/e_buffer.c
+++ b/src/bin/e_wayland/e_buffer.c
@@ -18,6 +18,8 @@ e_buffer_resource_get(struct wl_resource *resource)
18 if (!(buffer = E_NEW_RAW(E_Buffer, 1))) 18 if (!(buffer = E_NEW_RAW(E_Buffer, 1)))
19 return NULL; 19 return NULL;
20 20
21 buffer->w = 0;
22 buffer->h = 0;
21 buffer->wl.resource = resource; 23 buffer->wl.resource = resource;
22 wl_signal_init(&buffer->signals.destroy); 24 wl_signal_init(&buffer->signals.destroy);
23 buffer->buffer_destroy.notify = _e_buffer_cb_destroy; 25 buffer->buffer_destroy.notify = _e_buffer_cb_destroy;