fix config.h thing so e doesnt break :)


SVN revision: 16722
This commit is contained in:
Carsten Haitzler 2005-09-15 03:11:08 +00:00
parent b843e07605
commit 94123d1802
3 changed files with 5 additions and 6 deletions

View File

@ -218,7 +218,7 @@ embryo_cflags=`$EMBRYO_CONFIG --cflags`
embryo_libs=`$EMBRYO_CONFIG --libs`
e_libs=$evas_libs" "$ecore_libs" "$edje_libs" "$eet_libs" "$embryo_libs" "$LIBINTL" "$fnmatch_libs" "
e_cflags=$evas_cflags" "$ecore_cflags" "$edje_cflags" "$eet_cflags" "$embryo_cflags" "
e_cflags="-DUSE_E_CONFIG_H "$evas_cflags" "$ecore_cflags" "$edje_cflags" "$eet_cflags" "$embryo_cflags" "
AC_SUBST(e_libs)
AC_SUBST(e_cflags)

View File

@ -4,7 +4,6 @@
#ifndef E_H
#define E_H
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
@ -33,6 +32,10 @@
#include <Eet.h>
#include <Edje.h>
#ifdef USE_E_CONFIG_H
#include "config.h"
#endif
#if HAVE___ATTRIBUTE__
#define __UNUSED__ __attribute__((unused))
#else

View File

@ -1431,7 +1431,6 @@ _e_app_cb_event_border_add(void *data, int type, void *event)
E_App_Instance *inst;
ev = event;
printf("BD ADD %i\n", ev->border->client.netwm.e_start_launch_id);
if (ev->border->client.netwm.e_start_launch_id <= 0) return 1;
for (l = _e_apps_start_pending; l; l = l->next)
{
@ -1439,7 +1438,6 @@ _e_app_cb_event_border_add(void *data, int type, void *event)
for (ll = a->instances; ll; ll = ll->next)
{
inst = ll->data;
printf("%i == %i\n", inst->launch_id, ev->border->client.netwm.e_start_launch_id);
if (inst->launch_id == ev->border->client.netwm.e_start_launch_id)
{
if (inst->expire_timer)
@ -1456,7 +1454,6 @@ _e_app_cb_event_border_add(void *data, int type, void *event)
while (removes)
{
a = removes->data;
printf("APP [%s] popped up!\n", a->exe);
_e_app_change(a, E_APP_READY);
_e_apps_start_pending = evas_list_remove(_e_apps_start_pending, a);
removes = evas_list_remove_list(removes, removes);
@ -1473,7 +1470,6 @@ _e_app_cb_expire_timer(void *data)
inst = data;
a = inst->app;
printf("APP [%s] expired!\n", a->exe);
_e_apps_start_pending = evas_list_remove(_e_apps_start_pending, a);
inst->expire_timer = NULL;
_e_app_change(a, E_APP_READY_EXPIRE);