From eac374389583e7c45db9492b862d75203feba2af Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 1 Mar 2007 14:37:05 +0000 Subject: Bypass the body of these functions on non-G_OS_UNIX for now as they use 2007-03-01 Tor Lillqvist * gui/widgets/e-addressbook-view.c (e_contact_print_button): * printing/e-contact-print.c (e_contact_print_response): Bypass the body of these functions on non-G_OS_UNIX for now as they use gtk_print_unix_dialog_get_settings(). Gtk printing on Win32 needs work. svn path=/trunk/; revision=33270 --- addressbook/gui/widgets/e-addressbook-view.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index a94547bb0c..630d5c6e48 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1720,6 +1720,7 @@ e_contact_print_destroy(gpointer data, GObject *where_object_was) static void e_contact_print_button(GtkDialog *dialog, gint response, gpointer data) { +#ifdef G_OS_UNIX /* Just to get it to build on Win32 */ GtkWidget *preview; GtkPrintOperation *print; GtkPrintSettings *settings; @@ -1748,6 +1749,9 @@ e_contact_print_button(GtkDialog *dialog, gint response, gpointer data) gtk_widget_destroy(dialog); g_object_unref (print); +#else + g_warning ("Not implemented currently on Windows"); +#endif } static void -- cgit v1.2.3