[gnome-builder/wip/gtk4-port] libide/webkit: fix function signature



commit 0469e7875731bac6c3307b2f65813ba6757d295d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jun 3 09:36:03 2022 -0700

    libide/webkit: fix function signature

 src/libide/webkit/ide-webkit-page.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/webkit/ide-webkit-page.c b/src/libide/webkit/ide-webkit-page.c
index 94efa627d..f9a5b1463 100644
--- a/src/libide/webkit/ide-webkit-page.c
+++ b/src/libide/webkit/ide-webkit-page.c
@@ -28,7 +28,7 @@
 
 typedef struct
 {
-  GtkBox        *toolbar;
+  GtkCenterBox  *toolbar;
   WebKitWebView *web_view;
 } IdeWebkitPagePrivate;
 
@@ -89,10 +89,10 @@ transform_cairo_surface_to_gicon (GBinding     *binding,
 static void
 toolbar_notify_visible_cb (IdeWebkitPage *self,
                            GParamSpec    *pspec,
-                           WebKitWebView *web_view)
+                           GtkWidget     *toolbar)
 {
   g_assert (IDE_IS_WEBKIT_PAGE (self));
-  g_assert (WEBKIT_IS_WEB_VIEW (web_view));
+  g_assert (GTK_IS_WIDGET (toolbar));
 
   g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_SHOW_TOOLBAR]);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]