Skip to content

Commit

Permalink
Revert "Remove deprecation warnings due to elm_web."
Browse files Browse the repository at this point in the history
This reverts commit 545e52f.
  • Loading branch information
raoulh committed Mar 8, 2014
1 parent e3e8b38 commit 9a6b43c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bin/calaos_home/views/ActivityWebView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ void ActivityWebView::buttonCallback(void *data, Evas_Object *edje_object, strin
ApplicationMain::Instance().ShowKeyboard("Entrez une URL ci-dessous",
sigc::mem_fun(*this, &ActivityWebView::goToCallback),
false,
elm_web_url_get(web));
elm_web_uri_get(web));
}
else if (source == "button.bookmark")
{
string url = elm_web_url_get(web);
string url = elm_web_uri_get(web);

string _url = DEFAULT_BROWSER_URL;
_url += "Bookmark.php?new=" + url_encode(url);
Expand All @@ -225,6 +225,6 @@ void ActivityWebView::goToCallback(string text)

url += text;

elm_web_url_set(web, url.c_str());
elm_web_uri_set(web, url.c_str());
elm_object_focus_set(web, true);
}

0 comments on commit 9a6b43c

Please sign in to comment.