aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-03-01 22:37:05 +0800
committerTor Lillqvist <tml@src.gnome.org>2007-03-01 22:37:05 +0800
commiteac374389583e7c45db9492b862d75203feba2af (patch)
tree74797c25a861b429fb60d89cfdcc6294de4756fa /addressbook/printing
parentdfb8c61df838c14a311f218a35390e9fae7735fc (diff)
downloadgsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.tar.gz
gsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.tar.zst
gsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.zip
Bypass the body of these functions on non-G_OS_UNIX for now as they use
2007-03-01 Tor Lillqvist <tml@novell.com> * 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
Diffstat (limited to 'addressbook/printing')
-rw-r--r--addressbook/printing/e-contact-print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 51d2171f9f..5377ad00d0 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -745,6 +745,7 @@ e_contact_print_close(GnomeDialog *dialog, gpointer data)
void
e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data)
{
+#ifdef G_OS_UNIX /* Just to get it to build on Win32 */
GtkPrintSettings *settings;
GtkPrintOperationResult res;
GtkPaperSize *paper_size;
@@ -839,6 +840,9 @@ e_contact_print_response(GtkWidget *dialog, gint response_id, gpointer data)
g_free (ctxt);
}
gtk_widget_destroy (dialog);
+#else
+ g_warning ("Not implemented currently on Windows");
+#endif
}