[gtk/ebassi/run-dialog-run: 112/116] Remove unnecessary deprecation pragmas
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/run-dialog-run: 112/116] Remove unnecessary deprecation pragmas
- Date: Tue, 12 May 2020 12:43:07 +0000 (UTC)
commit 420f16c6425642fec1fab34948301629b8e19302
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Apr 30 17:24:15 2020 +0100
Remove unnecessary deprecation pragmas
The gtk_window_present() function is not deprecated.
gtk/gtkprintoperation-unix.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/gtk/gtkprintoperation-unix.c b/gtk/gtkprintoperation-unix.c
index fc00ff004e..f6b2195e17 100644
--- a/gtk/gtkprintoperation-unix.c
+++ b/gtk/gtkprintoperation-unix.c
@@ -732,9 +732,7 @@ gtk_print_operation_unix_run_dialog_async (GtkPrintOperation *op,
g_signal_connect (pd, "response",
G_CALLBACK (handle_print_response), rdata);
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_window_present (GTK_WINDOW (pd));
- G_GNUC_END_IGNORE_DEPRECATIONS
}
else
{
@@ -872,9 +870,7 @@ gtk_print_operation_unix_run_dialog (GtkPrintOperation *op,
g_signal_connect (pd, "response",
G_CALLBACK (handle_print_response), &rdata);
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_window_present (GTK_WINDOW (pd));
- G_GNUC_END_IGNORE_DEPRECATIONS
rdata.loop = g_main_loop_new (NULL, FALSE);
g_main_loop_run (rdata.loop);
@@ -1000,9 +996,7 @@ gtk_print_run_page_setup_dialog (GtkWindow *parent,
G_CALLBACK (handle_page_setup_response),
&rdata);
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_window_present (GTK_WINDOW (dialog));
- G_GNUC_END_IGNORE_DEPRECATIONS
g_main_loop_run (rdata.loop);
g_main_loop_unref (rdata.loop);
@@ -1054,9 +1048,7 @@ gtk_print_run_page_setup_dialog_async (GtkWindow *parent,
g_signal_connect (dialog, "response",
G_CALLBACK (handle_page_setup_response), rdata);
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_window_present (GTK_WINDOW (dialog));
- G_GNUC_END_IGNORE_DEPRECATIONS
}
struct _PrinterFinder
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]