[gimp] plug-ins: fix warning.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix warning.
- Date: Tue, 17 Sep 2019 10:58:02 +0000 (UTC)
commit 642e47efaa5bdafaac94f480dce8f3d1141316a4
Author: Jehan <jehan girinstud io>
Date: Tue Sep 17 11:21:19 2019 +0200
plug-ins: fix warning.
Fix the following warning for missing case values:
> enumeration value ‘WEBKIT_LOAD_REDIRECTED’ not handled in switch
(same for WEBKIT_LOAD_COMMITTED)
plug-ins/help-browser/dialog.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/plug-ins/help-browser/dialog.c b/plug-ins/help-browser/dialog.c
index f1832aca9b..0a54f4aa60 100644
--- a/plug-ins/help-browser/dialog.c
+++ b/plug-ins/help-browser/dialog.c
@@ -1126,6 +1126,10 @@ load_changed (WebKitWebView *view,
update_actions ();
select_index (webkit_web_view_get_uri (view));
break;
+
+ case WEBKIT_LOAD_REDIRECTED:
+ case WEBKIT_LOAD_COMMITTED:
+ break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]