Use PATH_MAX.

Add UNUSED where needed.



SVN revision: 55200
This commit is contained in:
Christopher Michael 2010-12-03 16:49:20 +00:00
parent 8769f96b0e
commit 59ea0baaec
1 changed files with 3 additions and 3 deletions

View File

@ -217,7 +217,7 @@ static Evas_Object *
_gc_icon(E_Gadcon_Client_Class *client_class __UNUSED__, Evas *evas) _gc_icon(E_Gadcon_Client_Class *client_class __UNUSED__, Evas *evas)
{ {
Evas_Object *o; Evas_Object *o;
char buf[4096]; char buf[PATH_MAX];
o = edje_object_add(evas); o = edje_object_add(evas);
snprintf(buf, sizeof(buf), "%s/e-module-ibar.edj", snprintf(buf, sizeof(buf), "%s/e-module-ibar.edj",
@ -257,7 +257,7 @@ static IBar *
_ibar_new(Evas *evas, Instance *inst) _ibar_new(Evas *evas, Instance *inst)
{ {
IBar *b; IBar *b;
char buf[4096]; char buf[PATH_MAX];
b = E_NEW(IBar, 1); b = E_NEW(IBar, 1);
inst->ibar = b; inst->ibar = b;
@ -969,7 +969,7 @@ _ibar_cb_drop_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__
} }
static void static void
_ibar_cb_drag_finished(E_Drag *drag, int dropped) _ibar_cb_drag_finished(E_Drag *drag, int dropped __UNUSED__)
{ {
efreet_desktop_unref(drag->data); efreet_desktop_unref(drag->data);
} }