asparagus - again. lots fo leak fixes and other fixes have been happening, so

i think an asparagus is a good idea - sorry package config people. :)


SVN revision: 17340
This commit is contained in:
Carsten Haitzler 2005-10-09 04:22:19 +00:00
parent 192e1feeb8
commit a711f4ccc2
2 changed files with 18 additions and 18 deletions

View File

@ -7,7 +7,7 @@ AC_INIT(configure.in)
AC_CANONICAL_BUILD AC_CANONICAL_BUILD
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_ISC_POSIX AC_ISC_POSIX
AM_INIT_AUTOMAKE(enlightenment, 0.16.999.017) AM_INIT_AUTOMAKE(enlightenment, 0.16.999.018)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
AC_C_BIGENDIAN AC_C_BIGENDIAN

View File

@ -16,22 +16,22 @@ e_configure_show(E_Container *con)
Evas_Coord w, h, ew, eh; Evas_Coord w, h, ew, eh;
if (!con) if (!con)
{ {
man = e_manager_current_get(); man = e_manager_current_get();
if (!man) return NULL; if (!man) return NULL;
con = e_container_current_get(man); con = e_container_current_get(man);
if (!con) con = e_container_number_get(man, 0); if (!con) con = e_container_number_get(man, 0);
if (!con) return NULL; if (!con) return NULL;
} }
app = E_OBJECT_ALLOC(E_Configure, E_CONFIGURE_TYPE, _e_configure_free); app = E_OBJECT_ALLOC(E_Configure, E_CONFIGURE_TYPE, _e_configure_free);
if (!app) return NULL; if (!app) return NULL;
app->win = e_win_new(con); app->win = e_win_new(con);
if (!app->win) if (!app->win)
{ {
free(app); free(app);
return NULL; return NULL;
} }
app->con = con; app->con = con;
e_win_delete_callback_set(app->win, _e_configure_gui_hide); e_win_delete_callback_set(app->win, _e_configure_gui_hide);
@ -62,10 +62,10 @@ e_configure_show(E_Container *con)
e_box_min_size_get(app->box, &w, &h); e_box_min_size_get(app->box, &w, &h);
if (ew > w ) if (ew > w )
w = ew; w = ew;
if (eh > h) if (eh > h)
h = eh; h = eh;
edje_extern_object_min_size_set(app->box, w, h); edje_extern_object_min_size_set(app->box, w, h);
e_win_size_base_set (app->win, w , h + eh); e_win_size_base_set (app->win, w , h + eh);
e_win_size_min_set (app->win, w, h + eh); e_win_size_min_set (app->win, w, h + eh);
@ -91,8 +91,8 @@ _e_configure_cb_resize(E_Win *win)
if (win) if (win)
{ {
ecore_evas_geometry_get(win->ecore_evas, NULL, NULL, &w, &h); ecore_evas_geometry_get(win->ecore_evas, NULL, NULL, &w, &h);
app = (E_Configure *) ecore_evas_data_get(win->ecore_evas, "App"); app = (E_Configure *)ecore_evas_data_get(win->ecore_evas, "App");
evas_object_resize(app->edje, w, h); evas_object_resize(app->edje, w, h);
} }
} }