aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libraries/winFang.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libraries/winFang.c')
-rw-r--r--src/libraries/winFang.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libraries/winFang.c b/src/libraries/winFang.c
index 8bcfe3a..1aaa7bd 100644
--- a/src/libraries/winFang.c
+++ b/src/libraries/winFang.c
@@ -238,7 +238,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch
238 ); 238 );
239 elm_object_part_content_set(result->layout, WF_UNDERLAY, obj); 239 elm_object_part_content_set(result->layout, WF_UNDERLAY, obj);
240 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_DOWN, _onBgClick, result); 240 evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_DOWN, _onBgClick, result);
241 eo_unref(obj); 241// eo_unref(obj);
242 242
243 // Create corner handles. 243 // Create corner handles.
244 snprintf(buf, sizeof(buf), "%s/pt.png", prefix_data_get()); 244 snprintf(buf, sizeof(buf), "%s/pt.png", prefix_data_get());
@@ -257,7 +257,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch
257 evas_obj_visibility_set(EINA_TRUE) 257 evas_obj_visibility_set(EINA_TRUE)
258 ); 258 );
259 evas_object_event_callback_add(result->hand[i], EVAS_CALLBACK_MOUSE_MOVE, _onHandleMove, result); 259 evas_object_event_callback_add(result->hand[i], EVAS_CALLBACK_MOUSE_MOVE, _onHandleMove, result);
260 eo_unref(result->hand[i]); 260// eo_unref(result->hand[i]);
261 } 261 }
262 262
263 result->title = eo_add(ELM_LABEL_CLASS, result->layout, 263 result->title = eo_add(ELM_LABEL_CLASS, result->layout,
@@ -268,7 +268,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch
268 elm_object_style_set(result->title, "marker"); 268 elm_object_style_set(result->title, "marker");
269 elm_object_text_set(result->title, title); 269 elm_object_text_set(result->title, title);
270 elm_object_part_content_set(result->layout, WF_TITLE, result->title); 270 elm_object_part_content_set(result->layout, WF_TITLE, result->title);
271 eo_unref(result->title); 271// eo_unref(result->title);
272 } 272 }
273 273
274 result->grid = eo_add(ELM_GRID_CLASS, result->layout, 274 result->grid = eo_add(ELM_GRID_CLASS, result->layout,
@@ -286,7 +286,7 @@ winFang *winFangAdd(winFang *parent, int x, int y, int w, int h, char *title, ch
286 if (result->parent) 286 if (result->parent)
287 { 287 {
288#if 0 288#if 0
289 // EPysics enable the window. 289 // EPhysics enable the window.
290 if (world) 290 if (world)
291 { 291 {
292 result->body = ephysics_body_box_add(world); 292 result->body = ephysics_body_box_add(world);
@@ -340,9 +340,9 @@ void winFangDel(winFang *win)
340 340
341 if (!win) return; 341 if (!win) return;
342 342
343 if (win->bg) eo_unref(win->bg); 343// if (win->bg) eo_unref(win->bg);
344 if (win->grid) eo_unref(win->grid); 344// if (win->grid) eo_unref(win->grid);
345 if (win->layout) eo_unref(win->layout); 345// if (win->layout) eo_unref(win->layout);
346 EINA_CLIST_FOR_EACH_ENTRY_SAFE(wf, wf2, &win->winFangs, winFang, node) 346 EINA_CLIST_FOR_EACH_ENTRY_SAFE(wf, wf2, &win->winFangs, winFang, node)
347 { 347 {
348 winFangDel(wf); 348 winFangDel(wf);
@@ -456,7 +456,7 @@ void widgetDel(Widget *wid)
456 // The bug is that editable entry widgets cause the app to hang on exit. 456 // The bug is that editable entry widgets cause the app to hang on exit.
457 if (strcmp(WT_ENTRY, wid->type) == 0) 457 if (strcmp(WT_ENTRY, wid->type) == 0)
458 elm_entry_editable_set(wid->obj, EINA_FALSE); 458 elm_entry_editable_set(wid->obj, EINA_FALSE);
459 eo_unref(wid->obj); 459// eo_unref(wid->obj);
460 free(wid); 460 free(wid);
461 } 461 }
462} 462}