entrance: warn--

This commit is contained in:
Michael Bouchaud 2014-02-06 22:23:28 +00:00
parent a20597a2db
commit f17a3c2d90
2 changed files with 9 additions and 1 deletions

8
src/bin/entrance_gui.c Normal file → Executable file
View File

@ -669,6 +669,14 @@ _entrance_gui_cb_window_property(void *data EINA_UNUSED, int type EINA_UNUSED, v
PT("screen managed\n");
elm_exit();
}
char *name = ecore_x_window_prop_string_get(ecore_x_window_root_get(ev->win), ECORE_X_ATOM_NET_WM_NAME);
if (name)
{
PT("screen managed though not compliant\n");
elm_exit();
}
return ECORE_CALLBACK_DONE;
}

View File

@ -166,7 +166,7 @@ _entrance_action_grub2(void *data)
i = (size_t)data;
snprintf(buf, sizeof(buf),
"grub-reboot %d && %s", i, entrance_config->command.reboot);
"grub-reboot %lu && %s", i, entrance_config->command.reboot);
_action_exe = ecore_exe_run(buf, NULL);
}