billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=bbb72729102f113e30f3f12faa383f51d18b7bcc

commit bbb72729102f113e30f3f12faa383f51d18b7bcc
Author: Boris Faure <[email protected]>
Date:   Sun Jul 23 17:41:20 2017 +0200

    teamwork: remove the feature since it's no longer supported in elm
---
 configure.ac     | 20 --------------------
 src/bin/termio.c | 13 -------------
 src/bin/win.c    |  3 ---
 3 files changed, 36 deletions(-)

diff --git a/configure.ac b/configure.ac
index fb10bf0..7b104c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,26 +111,6 @@ AC_LINK_IFELSE(
      AC_MSG_RESULT([no])
    ]
 )
-AC_MSG_CHECKING([for elm_win_teamwork])
-AC_LINK_IFELSE(
-   [
-    AC_LANG_PROGRAM(
-      [[
-       #include <Elementary.h>
-      ]],
-     [[
-        elm_win_teamwork_uri_show(NULL);
-     ]])
-   ],
-   [
-     AC_MSG_RESULT([yes])
-     AC_DEFINE([HAVE_ELM_WIN_TEAMWORK], [1], [define to 1 if
-                elm_win_teamwork_uri_show is available])
-   ],
-   [
-     AC_MSG_RESULT([no])
-   ]
-)
 CFLAGS=$orig_cflags
 
 EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 6e3d797..6c49100 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1224,13 +1224,6 @@ _update_link(Evas_Object *obj, Termio *sd,
      return;
 
    popup_exists = main_term_popup_exists(sd->term);
-   if ((!popup_exists) &&
-       ((sd->link.string[0] == '/') || (link_is_url(sd->link.string))))
-     {
-#ifdef HAVE_ELM_WIN_TEAMWORK
-        elm_win_teamwork_uri_show(win_evas_object_get(term_win_get(sd->term)), 
sd->link.string);
-#endif
-     }
    for (y = sd->link.y1; y <= sd->link.y2; y++)
      {
         o = elm_layout_add(sd->win);
@@ -1287,9 +1280,6 @@ _remove_links(Termio *sd, Evas_Object *obj)
 
    if (sd->link.string)
      {
-#ifdef HAVE_ELM_WIN_TEAMWORK
-        elm_win_teamwork_uri_hide(win_evas_object_get(term_win_get(sd->term)));
-#endif
         free(sd->link.string);
         sd->link.string = NULL;
      }
@@ -4504,9 +4494,6 @@ _smart_cb_mouse_out(void *data,
    if (sd->ctxpopup) return; /* ctxp triggers mouse out we should ignore */
 
    termio_mouseover_suspend_pushpop(data, 1);
-#ifdef HAVE_ELM_WIN_TEAMWORK
-   elm_win_teamwork_uri_hide(win_evas_object_get(term_win_get(sd->term)));
-#endif
    if ((ev->canvas.x == 0) || (ev->canvas.y == 0))
      {
         sd->mouse.cx = -1;
diff --git a/src/bin/win.c b/src/bin/win.c
index 67ed42a..1dbc2e0 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -3305,9 +3305,6 @@ _popmedia_show(Term *term, const char *src, Media_Type 
type)
    Config *config = termio_config_get(term->termio);
 
    EINA_SAFETY_ON_NULL_RETURN(config);
-#ifdef HAVE_ELM_WIN_TEAMWORK
-   elm_win_teamwork_uri_hide(term->wn->win);
-#endif
    if (term->popmedia)
      {
         const char *s;

-- 


Reply via email to