From a711f4ccc24ba3909ed8c38ee9dc9ba6e0ee94c6 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 9 Oct 2005 04:22:19 +0000 Subject: [PATCH] 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 --- configure.in | 2 +- src/bin/e_configure.c | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/configure.in b/configure.in index 52ce95a44..663ed76f7 100644 --- a/configure.in +++ b/configure.in @@ -7,7 +7,7 @@ AC_INIT(configure.in) AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_ISC_POSIX -AM_INIT_AUTOMAKE(enlightenment, 0.16.999.017) +AM_INIT_AUTOMAKE(enlightenment, 0.16.999.018) AM_CONFIG_HEADER(config.h) AC_C_BIGENDIAN diff --git a/src/bin/e_configure.c b/src/bin/e_configure.c index d0fc5e648..cbd52b17c 100644 --- a/src/bin/e_configure.c +++ b/src/bin/e_configure.c @@ -16,22 +16,22 @@ e_configure_show(E_Container *con) Evas_Coord w, h, ew, eh; if (!con) - { - man = e_manager_current_get(); - if (!man) return NULL; - con = e_container_current_get(man); - if (!con) con = e_container_number_get(man, 0); - if (!con) return NULL; - } + { + man = e_manager_current_get(); + if (!man) return NULL; + con = e_container_current_get(man); + if (!con) con = e_container_number_get(man, 0); + if (!con) return NULL; + } app = E_OBJECT_ALLOC(E_Configure, E_CONFIGURE_TYPE, _e_configure_free); if (!app) return NULL; app->win = e_win_new(con); if (!app->win) - { - free(app); - return NULL; - } - + { + free(app); + return NULL; + } + app->con = con; 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); if (ew > w ) - w = ew; + w = ew; if (eh > h) - h = eh; - + h = eh; + edje_extern_object_min_size_set(app->box, w, h); e_win_size_base_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) { 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); } }