Unverified Commit a9b4f7b8 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

gtkhtml: Fix compile error (#383120)

parents dd30fb33 320d64d8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
      hash = "sha256-f0OToWGHZwxvqf+0qosfA9FfwJ/IXfjIPP5/WrcvArI=";
      extraPrefix = "";
    })
    # Resolves a GCC14 missing typecast error
    ./typecast.diff
  ];

  passthru = {
+13 −0
Original line number Diff line number Diff line
diff --git a/components/editor/gtkhtml-editor.c b/components/editor/gtkhtml-editor.c
index 902baf94..d885df8c 100644
--- a/components/editor/gtkhtml-editor.c
+++ b/components/editor/gtkhtml-editor.c
@@ -455,7 +455,7 @@ editor_set_html (GtkhtmlEditor *editor,
 	gtk_html_load_empty (html);
 	gtk_html_set_editable (html, TRUE);
 
-	editor->priv->edit_area = g_object_ref_sink (html);
+	editor->priv->edit_area = (GtkWidget *) g_object_ref_sink (html);
 }
 
 static GObject *