diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2012-12-13 03:04:04 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2012-12-13 03:04:04 +0800 |
commit | c4bceab97ac344861b3055795ab92f0e13bd0d47 (patch) | |
tree | 8e3e8b68924027b40b2a0d8dc2a40d03956741d0 /src | |
parent | 688f1eb848219bc477a2ecaea7a647ff9d9b7f72 (diff) | |
download | gsoc2013-epiphany-c4bceab97ac344861b3055795ab92f0e13bd0d47.tar gsoc2013-epiphany-c4bceab97ac344861b3055795ab92f0e13bd0d47.tar.gz gsoc2013-epiphany-c4bceab97ac344861b3055795ab92f0e13bd0d47.tar.bz2 gsoc2013-epiphany-c4bceab97ac344861b3055795ab92f0e13bd0d47.tar.lz gsoc2013-epiphany-c4bceab97ac344861b3055795ab92f0e13bd0d47.tar.xz gsoc2013-epiphany-c4bceab97ac344861b3055795ab92f0e13bd0d47.tar.zst gsoc2013-epiphany-c4bceab97ac344861b3055795ab92f0e13bd0d47.zip |
ephy-find-toolbar: fix a warning
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-find-toolbar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c index ae4240b00..336f876da 100644 --- a/src/ephy-find-toolbar.c +++ b/src/ephy-find-toolbar.c @@ -177,6 +177,7 @@ clear_status (EphyFindToolbar *toolbar) gtk_widget_set_sensitive (GTK_WIDGET (priv->prev), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (priv->next), FALSE); + if (priv->web_view == NULL) return; #ifdef HAVE_WEBKIT2 webkit_find_controller_search_finish (priv->controller); #else |