diff options
author | portix <none@none> | 2013-02-18 22:23:56 +0100 |
---|---|---|
committer | portix <none@none> | 2013-02-18 22:23:56 +0100 |
commit | f5d7bcfdada973cc6875ff3cfd52147aba4f5b48 (patch) | |
tree | 5af9f14414e595464c585d4331044bd8f6fca159 /src/editor.c | |
parent | efbfa138fded83487e15ce596693a20d3c2c7608 (diff) | |
download | dwb-f5d7bcfdada973cc6875ff3cfd52147aba4f5b48.zip |
Fixing some of the clang warnings
Diffstat (limited to 'src/editor.c')
-rw-r--r-- | src/editor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editor.c b/src/editor.c index 465285f2..d5498d8f 100644 --- a/src/editor.c +++ b/src/editor.c @@ -93,7 +93,8 @@ editor_watch(GPid pid, int status, EditorInfo *info) webkit_dom_html_element_set_inner_text(WEBKIT_DOM_HTML_ELEMENT(e), content, NULL); clean: - disconnect_navigation(info->gl); + if (info->gl) + disconnect_navigation(info->gl); unlink(info->filename); g_free(info->filename); |