[gtk/matthiasc/for-master: 2/4] about dialog: remove unnecessary guards




commit 6effd8ed22b16269a0379767696e4c0186783e3e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 8 09:35:25 2020 -0400

    about dialog: remove unnecessary guards
    
    We decided to undeprecate gtk_window_present,
    so no deprecation guards needed.

 gtk/gtkaboutdialog.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 66887e2b66..d7dfd985f7 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -2319,9 +2319,7 @@ gtk_show_about_dialog (GtkWindow   *parent,
 
     }
 
-  G_GNUC_BEGIN_IGNORE_DEPRECATIONS
   gtk_window_present (GTK_WINDOW (dialog));
-  G_GNUC_END_IGNORE_DEPRECATIONS
 }
 
 /**


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