summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 2a33ea3b88..173f33289f 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -9,6 +9,7 @@
9#include <Ecore.h> 9#include <Ecore.h>
10#include "ecore_private.h" 10#include "ecore_private.h"
11#include <Ecore_Input.h> 11#include <Ecore_Input.h>
12#include <Ecore_Input_Evas.h>
12 13
13#include "Ecore_Evas.h" 14#include "Ecore_Evas.h"
14#include "ecore_evas_buffer.h" 15#include "ecore_evas_buffer.h"
@@ -35,6 +36,8 @@ _ecore_evas_buffer_free(Ecore_Evas *ee)
35 } 36 }
36 37
37 free(bdata); 38 free(bdata);
39
40 ecore_event_evas_shutdown();
38} 41}
39 42
40static void 43static void
@@ -885,8 +888,16 @@ ecore_evas_buffer_allocfunc_new(int w, int h,
885EAPI Ecore_Evas * 888EAPI Ecore_Evas *
886ecore_evas_buffer_new(int w, int h) 889ecore_evas_buffer_new(int w, int h)
887{ 890{
888 return ecore_evas_buffer_allocfunc_new 891 Ecore_Evas *ee;
892
893 ecore_event_evas_init();
894
895 ee = ecore_evas_buffer_allocfunc_new
889 (w, h, _ecore_evas_buffer_pix_alloc, _ecore_evas_buffer_pix_free, NULL); 896 (w, h, _ecore_evas_buffer_pix_alloc, _ecore_evas_buffer_pix_free, NULL);
897
898 ecore_evas_done(ee, EINA_TRUE);
899
900 return ee;
890} 901}
891 902
892EAPI const void * 903EAPI const void *