aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/printing')
-rw-r--r--addressbook/printing/e-contact-print.c4
-rw-r--r--addressbook/printing/test-contact-print-style-editor.c2
-rw-r--r--addressbook/printing/test-print.c4
3 files changed, 9 insertions, 1 deletions
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 5dc0e9f4bc..f86d2613b1 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -263,6 +263,7 @@ e_contact_text_height(GnomePrintContext *pc, GnomeFont *font, double width, gcha
line_count * .2 * font->size;
}
+#if 0
static void
e_contact_output_and_advance(EContactPrintContext *ctxt, GnomeFont *font, double x, double width, gchar *text)
{
@@ -271,6 +272,7 @@ e_contact_output_and_advance(EContactPrintContext *ctxt, GnomeFont *font, double
ctxt->y -= e_contact_text_height(ctxt->pc, font, width, text);
ctxt->y -= .1 * font->size;
}
+#endif
static void
e_contact_rectangle(GnomePrintContext *pc,
@@ -672,6 +674,8 @@ e_contact_do_print (void *book, EContactPrintContext *ctxt, GList *shown_fields)
case E_CONTACT_PRINT_TYPE_PHONE_LIST:
e_contact_do_print_phone_list( book, ctxt, shown_fields );
break;
+ default:
+ break;
}
}
diff --git a/addressbook/printing/test-contact-print-style-editor.c b/addressbook/printing/test-contact-print-style-editor.c
index f6a3b99596..d4dccc0b87 100644
--- a/addressbook/printing/test-contact-print-style-editor.c
+++ b/addressbook/printing/test-contact-print-style-editor.c
@@ -36,6 +36,7 @@ static void destroy_callback(GtkWidget *app, gpointer data)
exit(0);
}
+#if 0
static void about_callback( GtkWidget *widget, gpointer data )
{
@@ -53,6 +54,7 @@ static void about_callback( GtkWidget *widget, gpointer data )
NULL);
gtk_widget_show (about);
}
+#endif
int main( int argc, char *argv[] )
{
diff --git a/addressbook/printing/test-print.c b/addressbook/printing/test-print.c
index 2ee396d37d..7b438eed31 100644
--- a/addressbook/printing/test-print.c
+++ b/addressbook/printing/test-print.c
@@ -35,6 +35,7 @@ static gint test_close(GnomeDialog *dialog, gpointer data)
return 1;
}
+#if 0
static void about_callback( GtkWidget *widget, gpointer data )
{
@@ -52,6 +53,7 @@ static void about_callback( GtkWidget *widget, gpointer data )
NULL);
gtk_widget_show (about);
}
+#endif
int main( int argc, char *argv[] )
{
@@ -71,7 +73,7 @@ int main( int argc, char *argv[] )
print = e_contact_print_dialog_new(NULL, shown_fields);
gtk_widget_show_all(print);
- gtk_signal_connect(GTK_OBJECT(print), "close", test_close, NULL);
+ gtk_signal_connect(GTK_OBJECT(print), "close", GTK_SIGNAL_FUNC(test_close), NULL);
gtk_main();