Signed-off-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx> --- src/virt-viewer-window.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c index 96b35f6..cbf3f29 100644 --- a/src/virt-viewer-window.c +++ b/src/virt-viewer-window.c @@ -600,11 +600,10 @@ virt_viewer_window_enter_fullscreen(VirtViewerWindow *self, gint monitor) // just go fullscreen on the current monitor gtk_window_fullscreen(GTK_WINDOW(priv->window)); } else { -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +G_GNUC_BEGIN_IGNORE_DEPRECATED_DECLARATIONS gtk_window_fullscreen_on_monitor(GTK_WINDOW(priv->window), gdk_screen_get_default(), monitor); -#pragma GCC diagnostic pop +G_GNUC_END_IGNORE_DEPRECATED_DECLARATIONS } #else gtk_window_fullscreen(GTK_WINDOW(priv->window)); -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list