diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 8 | ||||
-rw-r--r-- | e-util/e-print.c | 6 |
2 files changed, 13 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 9a56f259b4..44f2a067d3 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,11 @@ +2007-03-01 Tor Lillqvist <tml@novell.com> + + * e-print.c (print_dialog_response) + (e_print_get_dialog_with_config): 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-27 Jeff Cai <jeff.cai@sun.com> * e-mktemp.c: (get_dir): diff --git a/e-util/e-print.c b/e-util/e-print.c index edec919eac..107f0d2597 100644 --- a/e-util/e-print.c +++ b/e-util/e-print.c @@ -100,9 +100,11 @@ e_print_save_settings (GtkPrintSettings *settings) static void print_dialog_response(GtkWidget *widget, int resp, gpointer data) { +#ifdef G_OS_UNIX /* Just to get it to build on Win32 */ if (resp == GTK_RESPONSE_OK) { e_print_save_settings (gtk_print_unix_dialog_get_settings(GTK_PRINT_UNIX_DIALOG (widget))); } +#endif } /* Creates a dialog with the print settings */ @@ -122,10 +124,12 @@ e_print_get_dialog (const char *title, int flags) GtkWidget * e_print_get_dialog_with_config (const char *title, int flags, GtkPrintSettings *settings) { - GtkWidget *dialog; + GtkWidget *dialog = NULL; +#ifdef G_OS_UNIX /* Just to get it to build on Win32 */ dialog = gtk_print_unix_dialog_new (title, NULL); gtk_print_unix_dialog_set_settings (GTK_PRINT_UNIX_DIALOG(dialog), settings); g_signal_connect(dialog, "response", G_CALLBACK(print_dialog_response), NULL); +#endif return dialog; } |