[Webkit-unassigned] [Bug 63966] [EFL] Add url bar to EWebLauncher.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 12 04:42:39 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63966
Lucas De Marchi <demarchi at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #100443|review? |review-
Flag| |
--- Comment #12 from Lucas De Marchi <demarchi at webkit.org> 2011-07-12 04:42:39 PST ---
(From update of attachment 100443)
View in context: https://bugs.webkit.org/attachment.cgi?id=100443&action=review
Are those "if (!app)", "if (!app || !ev | ...)" really necessary? Seems like over protection. Just guarantee that the function cannot be called with NULL pointers. Since most of them come from evas_object_event_*, you can be sure they are not NULL.
> Tools/EWebLauncher/main.c:507
> + if (!app || !ev)
> + return;
why?
> Tools/EWebLauncher/main.c:536
> + if (!app || !ev)
> + return;
why?
> Tools/EWebLauncher/main.c:667
> + if (!app)
> + return;
why?
> Tools/EWebLauncher/main.c:717
> + memset(full_url, 0x00, len);
You don't need this. Set only the last byte as '\0'
> Tools/EWebLauncher/main.c:747
> + ewk_view_uri_set(app->browser, full_url);
> + evas_object_focus_set(app->browser, EINA_TRUE);
> +
> + if (full_url)
> + free(full_url);
Why this is not after char *full_url?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list