summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-09-10 21:21:02 +0200
committerDave Andreoli <dave@gurumeditation.it>2015-09-10 21:21:02 +0200
commitf1be7e77113e7ff5aab97b4afe0678f0db5f3959 (patch)
tree6f9c93e5fd8a9c7de4971f14f5b2e1eb50b8b41f
parent085530210fd3aadd26cf530251bbaf8363241d9a (diff)
Fix e_config func param
...dunno when this was changed in e also remove an annoying printf that was polluting the logs
-rw-r--r--src/e_mod_config.c4
-rw-r--r--src/e_mod_config.h2
-rw-r--r--src/e_mod_penguins.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/e_mod_config.c b/src/e_mod_config.c
index 8c67321..1675c86 100644
--- a/src/e_mod_config.c
+++ b/src/e_mod_config.c
@@ -21,7 +21,7 @@ static int _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
21static void _fill_data(Penguins_Population *pop, E_Config_Dialog_Data *cfdata); 21static void _fill_data(Penguins_Population *pop, E_Config_Dialog_Data *cfdata);
22 22
23E_Config_Dialog * 23E_Config_Dialog *
24e_int_config_penguins_module(E_Comp *comp, const char *params) 24e_int_config_penguins_module(Evas_Object *parent, const char *params)
25{ 25{
26 E_Config_Dialog *cfd; 26 E_Config_Dialog *cfd;
27 E_Config_Dialog_View *v; 27 E_Config_Dialog_View *v;
@@ -38,7 +38,7 @@ e_int_config_penguins_module(E_Comp *comp, const char *params)
38 v->basic.create_widgets = _basic_create_widgets; 38 v->basic.create_widgets = _basic_create_widgets;
39 39
40 snprintf(buf, sizeof(buf), "%s/e-module-penguins.edj", e_module_dir_get(pop->module)); 40 snprintf(buf, sizeof(buf), "%s/e-module-penguins.edj", e_module_dir_get(pop->module));
41 cfd = e_config_dialog_new(comp, D_("Population Settings"), 41 cfd = e_config_dialog_new(parent, D_("Population Settings"),
42 "Penguins", "appearance/penguins", 42 "Penguins", "appearance/penguins",
43 buf, 0, v, pop); 43 buf, 0, v, pop);
44 pop->config_dialog = cfd; 44 pop->config_dialog = cfd;
diff --git a/src/e_mod_config.h b/src/e_mod_config.h
index 7179c41..c854f86 100644
--- a/src/e_mod_config.h
+++ b/src/e_mod_config.h
@@ -4,7 +4,7 @@
4# define E_MOD_CONFIG_H 4# define E_MOD_CONFIG_H
5# include "e_mod_main.h" 5# include "e_mod_main.h"
6 6
7E_Config_Dialog *e_int_config_penguins_module(E_Comp *comp, const char *params); 7E_Config_Dialog *e_int_config_penguins_module(Evas_Object *parent, const char *params);
8 8
9# endif 9# endif
10#endif 10#endif
diff --git a/src/e_mod_penguins.c b/src/e_mod_penguins.c
index dec0ba3..7bc5cd7 100644
--- a/src/e_mod_penguins.c
+++ b/src/e_mod_penguins.c
@@ -380,8 +380,8 @@ _cb_zone_changed(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
380static void 380static void
381_reborn(Penguins_Actor *tux) 381_reborn(Penguins_Actor *tux)
382{ 382{
383 printf("PENGUINS: Reborn on zone: %s (%d,%d @ %dx%d)\n", 383 // printf("PENGUINS: Reborn on zone: %s (%d,%d @ %dx%d)\n", tux->zone->name,
384 tux->zone->name, tux->zone->x, tux->zone->y, tux->zone->w, tux->zone->h); 384 // tux->zone->x, tux->zone->y, tux->zone->w, tux->zone->h);
385 tux->custom = NULL; 385 tux->custom = NULL;
386 tux->action = population->actions[AID_FALLER]; 386 tux->action = population->actions[AID_FALLER];
387 tux->reverse = random() % (2); 387 tux->reverse = random() % (2);