]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/gtkutil.c (xg_free_frame_widgets): Avoid compiler warning.
authorEli Zaretskii <eliz@gnu.org>
Thu, 14 Jul 2022 16:00:12 +0000 (19:00 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 14 Jul 2022 16:00:12 +0000 (19:00 +0300)
src/gtkutil.c

index f2018bc01f5ff6b5b7da2de3706eb33e74d290cb..a6bba096a43b30a279b8d5a024751e94f366ae45 100644 (file)
@@ -1887,7 +1887,9 @@ xg_free_frame_widgets (struct frame *f)
 
       /* x_free_frame_resources should have taken care of it */
 #ifndef HAVE_PGTK
+#ifdef HAVE_XDBE
       eassert (!FRAME_X_DOUBLE_BUFFERED_P (f));
+#endif
       g_object_unref (FRAME_X_OUTPUT (f)->im_context);
 #endif
       gtk_widget_destroy (FRAME_GTK_OUTER_WIDGET (f));