Skip to content

Commit

Permalink
[GTK4] MiniBrowser build fails with clang-16
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=264223

Reviewed by Michael Catanzaro.

* Tools/MiniBrowser/gtk/BrowserWindow.c:
(faviconChanged): Fix unused result warning.

Canonical link: https://commits.webkit.org/270247@main
  • Loading branch information
philn committed Nov 5, 2023
1 parent d23e04b commit d8cf4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/MiniBrowser/gtk/BrowserWindow.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ static void faviconChanged(WebKitWebView *webView, GParamSpec *paramSpec, Browse
#if GTK_CHECK_VERSION(3, 98, 0)
GdkTexture *favicon = webkit_web_view_get_favicon(webView);
if (favicon)
g_object_ref(favicon);
favicon = g_object_ref(favicon);
#else
cairo_surface_t *surface = webkit_web_view_get_favicon(webView);
GdkPixbuf *favicon = NULL;
Expand Down

0 comments on commit d8cf4d0

Please sign in to comment.