summaryrefslogtreecommitdiff
path: root/gtk/gtkprintbackend.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-23 08:32:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-10-23 08:57:46 -0400
commit6f46e95c754c71dc7051714925bdd312b6b6a62d (patch)
treed9a4124dea2b23efb05aa89c3418a9fbaaccdc7d /gtk/gtkprintbackend.c
parent799fb41937950e32cace797c142ac66e290b192b (diff)
downloadgtk+-deprecate-gtkdialog.tar.gz
Deprecate GtkDialogdeprecate-gtkdialog
GtkDialog API is archaic and over-complicated. What is needed for dialogs can typically achieved more easily by adding buttons directly to a window.
Diffstat (limited to 'gtk/gtkprintbackend.c')
-rw-r--r--gtk/gtkprintbackend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index c24ad6603f..d8ae798b60 100644
--- a/gtk/gtkprintbackend.c
+++ b/gtk/gtkprintbackend.c
@@ -574,6 +574,8 @@ store_entry (GtkEntry *entry,
*data = g_strdup (gtk_editable_get_text (GTK_EDITABLE (entry)));
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
password_dialog_response (GtkWidget *dialog,
int response_id,
@@ -732,6 +734,8 @@ request_password (GtkPrintBackend *backend,
gtk_widget_show (dialog);
}
+G_GNUC_END_IGNORE_DEPRECATIONS
+
void
gtk_print_backend_destroy (GtkPrintBackend *backend)
{