From be82b4b9ec5b202bd533b81d798bee91df503b89 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 2 Dec 2002 03:03:50 +0000 Subject: gnomedialog -> gtkdialog stuff. print dialog is a gtkdialog now. 2002-12-02 Not Zed * gui/widgets/e-addressbook-view.c (e_contact_print_button): gnomedialog -> gtkdialog stuff. print dialog is a gtkdialog now. * gui/contact-editor/e-contact-editor.c: include gtkstock.h 2002-11-27 Not Zed * gui/contact-editor/e-contact-editor-address.c: #include gtkstock.h svn path=/trunk/; revision=18971 --- addressbook/gui/widgets/e-addressbook-view.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'addressbook/gui/widgets/e-addressbook-view.c') diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index bedb5a685d..5e731d3483 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1398,7 +1398,7 @@ e_contact_print_destroy(gpointer data, GObject *where_object_was) } static void -e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data) +e_contact_print_button(GtkDialog *dialog, gint button, gpointer data) { GnomePrintMaster *master; GnomePrintContext *pc; @@ -1427,7 +1427,7 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data) gnome_print_master_close(master); gnome_print_master_print(master); g_object_unref (master); - gnome_dialog_close(dialog); + gtk_widget_destroy((GtkWidget *)dialog); break; case GNOME_PRINT_DIALOG_RESPONSE_PREVIEW: master = gnome_print_master_new_from_config (gnome_print_dialog_get_config ( GNOME_PRINT_DIALOG(dialog) )); @@ -1454,7 +1454,8 @@ e_contact_print_button(GnomeDialog *dialog, gint button, gpointer data) g_object_unref (master); break; case GNOME_PRINT_DIALOG_RESPONSE_CANCEL: - gnome_dialog_close(dialog); + default: + gtk_widget_destroy((GtkWidget *)dialog); break; } } -- cgit v1.2.3