/* externally accessible functions */
EAPI E_About *
-e_about_new(E_Comp *c)
+e_about_new(void)
{
E_Obj_Dialog *od;
char buf[16384];
FILE *f;
Eina_Strbuf *tbuf;
- od = e_obj_dialog_new(c, _("About Enlightenment"), "E", "_about");
+ od = e_obj_dialog_new(_("About Enlightenment"), "E", "_about");
if (!od) return NULL;
e_obj_dialog_obj_theme_set(od, "base/theme/about", "e/widgets/about/main");
e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close"));
#ifndef E_ABOUT_H
#define E_ABOUT_H
-EAPI E_About *e_about_new (E_Comp *c);
+EAPI E_About *e_about_new (void);
EAPI void e_about_show (E_About *about);
#endif
{
E_About *about;
- about = e_about_new(e_comp);
+ about = e_about_new();
if (about) e_about_show(about);
}
{
E_Theme_About *about;
- about = e_theme_about_new(e_comp);
+ about = e_theme_about_new();
if (about) e_theme_about_show(about);
}
}
EAPI E_Obj_Dialog *
-e_obj_dialog_new(E_Comp *c EINA_UNUSED, char *title, char *class_name, char *class_class)
+e_obj_dialog_new(char *title, char *class_name, char *class_class)
{
E_Obj_Dialog *od;
Evas_Object *o;
void (*cb_delete)(E_Obj_Dialog *od);
};
-EAPI E_Obj_Dialog *e_obj_dialog_new(E_Comp *c, char *title, char *class_name, char *class_class);
+EAPI E_Obj_Dialog *e_obj_dialog_new(char *title, char *class_name, char *class_class);
EAPI void e_obj_dialog_icon_set(E_Obj_Dialog *od, char *icon);
EAPI void e_obj_dialog_show(E_Obj_Dialog *od);
EAPI void e_obj_dialog_obj_part_text_set(E_Obj_Dialog *od, const char *part, const char *text);
/* start logout - at end do the a_after action */
if (!raw)
{
- od = e_obj_dialog_new(e_comp,
- _("Logout in progress"), "E", "_sys_logout");
+ od = e_obj_dialog_new(_("Logout in progress"), "E", "_sys_logout");
e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/logout");
e_obj_dialog_obj_part_text_set(od, "e.textblock.message",
_("Logout in progress.<br>"
ret = 0;
_e_sys_begin_time = ecore_time_get();
- od = e_obj_dialog_new(NULL,
- _("Power off"), "E", "_sys_halt");
+ od = e_obj_dialog_new(_("Power off"), "E", "_sys_halt");
e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/halt");
e_obj_dialog_obj_part_text_set(od, "e.textblock.message",
_("Power off.<br>"
{
ret = 0;
_e_sys_begin_time = ecore_time_get();
- od = e_obj_dialog_new(NULL,
- _("Resetting"), "E", "_sys_reboot");
+ od = e_obj_dialog_new(_("Resetting"), "E", "_sys_reboot");
e_obj_dialog_obj_theme_set(od, "base/theme/sys", "e/sys/reboot");
e_obj_dialog_obj_part_text_set(od, "e.textblock.message",
_("Resetting.<br>"
/* externally accessible functions */
EAPI E_Theme_About *
-e_theme_about_new(E_Comp *c)
+e_theme_about_new(void)
{
E_Obj_Dialog *od;
- od = e_obj_dialog_new(c, _("About Theme"), "E", "_theme_about");
+ od = e_obj_dialog_new(_("About Theme"), "E", "_theme_about");
if (!od) return NULL;
e_obj_dialog_obj_theme_set(od, "base/theme", "e/theme/about");
e_obj_dialog_obj_part_text_set(od, "e.text.label", _("Close"));
#ifndef E_THEME_ABOUT_H
#define E_THEME_ABOUT_H
-EAPI E_Theme_About *e_theme_about_new (E_Comp *c);
+EAPI E_Theme_About *e_theme_about_new (void);
EAPI void e_theme_about_show (E_Theme_About *about);
#endif