mcst-linux-kernel/patches-2024.06.26/webkitgtk-2.40.0/0007-Workaround-bug-150991-...

14 lines
620 B
Diff

Index: webkit2gtk-2.40.0/Source/WebCore/platform/gtk/ValidationBubbleGtk.cpp
===================================================================
--- webkit2gtk-2.40.0.orig/Source/WebCore/platform/gtk/ValidationBubbleGtk.cpp
+++ webkit2gtk-2.40.0/Source/WebCore/platform/gtk/ValidationBubbleGtk.cpp
@@ -113,7 +113,7 @@ void ValidationBubble::showRelativeTo(co
{
m_shouldNotifyFocusEventsCallback(m_view, false);
- GdkRectangle rect(anchorRect);
+ GdkRectangle rect((GdkRectangle)anchorRect);
gtk_popover_set_pointing_to(GTK_POPOVER(m_popover), &rect);
gtk_popover_popup(GTK_POPOVER(m_popover));