Fix e_config func param
...dunno when this was changed in e also remove an annoying printf that was polluting the logs
This commit is contained in:
parent
085530210f
commit
f1be7e7711
|
@ -21,7 +21,7 @@ static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
|||
static void _fill_data(Penguins_Population *pop, E_Config_Dialog_Data *cfdata);
|
||||
|
||||
E_Config_Dialog *
|
||||
e_int_config_penguins_module(E_Comp *comp, const char *params)
|
||||
e_int_config_penguins_module(Evas_Object *parent, const char *params)
|
||||
{
|
||||
E_Config_Dialog *cfd;
|
||||
E_Config_Dialog_View *v;
|
||||
|
@ -38,7 +38,7 @@ e_int_config_penguins_module(E_Comp *comp, const char *params)
|
|||
v->basic.create_widgets = _basic_create_widgets;
|
||||
|
||||
snprintf(buf, sizeof(buf), "%s/e-module-penguins.edj", e_module_dir_get(pop->module));
|
||||
cfd = e_config_dialog_new(comp, D_("Population Settings"),
|
||||
cfd = e_config_dialog_new(parent, D_("Population Settings"),
|
||||
"Penguins", "appearance/penguins",
|
||||
buf, 0, v, pop);
|
||||
pop->config_dialog = cfd;
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# define E_MOD_CONFIG_H
|
||||
# include "e_mod_main.h"
|
||||
|
||||
E_Config_Dialog *e_int_config_penguins_module(E_Comp *comp, const char *params);
|
||||
E_Config_Dialog *e_int_config_penguins_module(Evas_Object *parent, const char *params);
|
||||
|
||||
# endif
|
||||
#endif
|
||||
|
|
|
@ -380,8 +380,8 @@ _cb_zone_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
|
|||
static void
|
||||
_reborn(Penguins_Actor *tux)
|
||||
{
|
||||
printf("PENGUINS: Reborn on zone: %s (%d,%d @ %dx%d)\n",
|
||||
tux->zone->name, tux->zone->x, tux->zone->y, tux->zone->w, tux->zone->h);
|
||||
// printf("PENGUINS: Reborn on zone: %s (%d,%d @ %dx%d)\n", tux->zone->name,
|
||||
// tux->zone->x, tux->zone->y, tux->zone->w, tux->zone->h);
|
||||
tux->custom = NULL;
|
||||
tux->action = population->actions[AID_FALLER];
|
||||
tux->reverse = random() % (2);
|
||||
|
|
Loading…
Reference in New Issue