forked from enlightenment/enlightenment
parent
807073f299
commit
6db513e6f5
|
@ -111,11 +111,11 @@ _gc_icon(E_Gadcon_Client_Class *cc, Evas *evas)
|
||||||
static const char *
|
static const char *
|
||||||
_gc_id_new(E_Gadcon_Client_Class *cc)
|
_gc_id_new(E_Gadcon_Client_Class *cc)
|
||||||
{
|
{
|
||||||
char buff[PATH_MAX];
|
static char buff[32];
|
||||||
|
|
||||||
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
||||||
eina_list_count(instances));
|
eina_list_count(instances));
|
||||||
return strdup(buff);
|
return buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
|
@ -262,11 +262,11 @@ _gc_icon(E_Gadcon_Client_Class *cc, Evas *evas)
|
||||||
static const char *
|
static const char *
|
||||||
_gc_id_new(E_Gadcon_Client_Class *cc)
|
_gc_id_new(E_Gadcon_Client_Class *cc)
|
||||||
{
|
{
|
||||||
char buff[PATH_MAX];
|
static char buff[32];
|
||||||
|
|
||||||
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
||||||
eina_list_count(instances));
|
eina_list_count(instances));
|
||||||
return strdup(buff);
|
return buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -135,11 +135,11 @@ _gc_icon(E_Gadcon_Client_Class *cc, Evas *evas)
|
||||||
static const char *
|
static const char *
|
||||||
_gc_id_new(E_Gadcon_Client_Class *cc)
|
_gc_id_new(E_Gadcon_Client_Class *cc)
|
||||||
{
|
{
|
||||||
char buff[PATH_MAX];
|
static char buff[32];
|
||||||
|
|
||||||
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
||||||
eina_list_count(instances));
|
eina_list_count(instances));
|
||||||
return strdup(buff);
|
return buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -122,11 +122,11 @@ _gc_icon(E_Gadcon_Client_Class *cc, Evas *evas)
|
||||||
static const char *
|
static const char *
|
||||||
_gc_id_new(E_Gadcon_Client_Class *cc)
|
_gc_id_new(E_Gadcon_Client_Class *cc)
|
||||||
{
|
{
|
||||||
char buff[PATH_MAX];
|
static char buff[32];
|
||||||
|
|
||||||
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
snprintf(buff, sizeof(buff), "%s.%d", _gc_class.name,
|
||||||
eina_list_count(instances));
|
eina_list_count(instances));
|
||||||
return strdup(buff);
|
return buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue