aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
parentdfb8c61df838c14a311f218a35390e9fae7735fc (diff)
downloadgsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.tar
gsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.tar.gz
gsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.tar.bz2
gsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.tar.lz
gsoc2013-evolution-eac374389583e7c45db9492b862d75203feba2af.tar.xz
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')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c4
-rw-r--r--addressbook/printing/e-contact-print.c4
3 files changed, 16 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index aa827c0384..f1ec0cc4d9 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2007-02-26 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #232065
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
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
}