aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-03-07 03:32:01 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-03-07 03:32:01 +0900
commit45444cf98c1b34f069a60d16c7578d5fed836d1e (patch)
treea463ab57e5f83f75b7ccd6579e5a3cbb83242061 /legacy/elementary/src/lib/elm_win.c
parentelm_widget: @fix use of uninitialized values. (diff)
downloadefl-45444cf98c1b34f069a60d16c7578d5fed836d1e.tar.gz
win: Removed unnecessary internal wrapping function.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 16ecab1ef5..2f2ae00bb9 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -746,8 +746,9 @@ _elm_win_focus_highlight_simple_setup(Elm_Win_Smart_Data *sd,
}
static void
-_elm_win_focus_highlight_reconfigure(Elm_Win_Smart_Data *sd)
+_elm_win_focus_highlight_reconfigure_job(void *data)
{
+ ELM_WIN_DATA_GET(data, sd);
Evas_Object *target = sd->focus_highlight.cur.target;
Evas_Object *previous = sd->focus_highlight.prev.target;
Evas_Object *fobj = sd->focus_highlight.fobj;
@@ -833,13 +834,6 @@ the_end:
}
static void
-_elm_win_focus_highlight_reconfigure_job(void *data)
-{
- ELM_WIN_DATA_GET(data, sd);
- _elm_win_focus_highlight_reconfigure(sd);
-}
-
-static void
_elm_win_focus_highlight_reconfigure_job_start(Elm_Win_Smart_Data *sd)
{
ecore_job_del(sd->focus_highlight.reconf_job);
@@ -5831,7 +5825,7 @@ _elm_win_focus_highlight_start(Evas_Object *obj)
if (!elm_win_focus_highlight_enabled_get(obj)) return;
sd->focus_highlight.cur.visible = EINA_TRUE;
sd->focus_highlight.geometry_changed = EINA_TRUE;
- _elm_win_focus_highlight_reconfigure(sd);
+ _elm_win_focus_highlight_reconfigure_job(sd);
}
EAPI Ecore_Window