[libnma/lr/gtk-4.0: 6/33] mobile-wizard: unbreak on Gtk4
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnma/lr/gtk-4.0: 6/33] mobile-wizard: unbreak on Gtk4
- Date: Fri, 15 Oct 2021 12:24:12 +0000 (UTC)
commit ae1224a9d0513c8e8fffd1a5a2cc5c1ab5d96bca
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Thu Oct 14 10:19:34 2021 +0200
mobile-wizard: unbreak on Gtk4
src/nma-mobile-wizard.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nma-mobile-wizard.c b/src/nma-mobile-wizard.c
index d13f965c..64728230 100644
--- a/src/nma-mobile-wizard.c
+++ b/src/nma-mobile-wizard.c
@@ -1467,7 +1467,7 @@ nma_mobile_wizard_init (NMAMobileWizard *self)
#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_DISPLAY (gtk_widget_get_display (GTK_WIDGET (priv->assistant)))) {
#if GTK_CHECK_VERSION(3,90,0)
- GdkSurface *surface = gtk_widget_get_surface (GTK_WIDGET (priv->assistant));
+ GdkSurface *surface = gtk_native_get_surface (GTK_NATIVE (priv->assistant));
gdk_x11_surface_set_skip_taskbar_hint (surface, TRUE);
#else
GdkWindow *gdk_window = gtk_widget_get_window (GTK_WIDGET (priv->assistant));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]