aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-23 11:39:14 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-23 11:39:14 +0800
commita8b3463f5a424f5b90249a9da554525798d21aa3 (patch)
tree53f916205e5492080692ec408a43b68c50c7d3c3 /addressbook/printing
parent1b84e993c0c4791bde30ea19ce35989375d257ed (diff)
downloadgsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.gz
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.bz2
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.lz
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.xz
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.tar.zst
gsoc2013-evolution-a8b3463f5a424f5b90249a9da554525798d21aa3.zip
Added the addressbook/backend directory.
2000-03-22 Christopher James Lahey <clahey@helixcode.com> * addressbook/Makefile.am, configure.in: Added the addressbook/backend directory. * addressbook/backend/Makefile.am: Removed the libversit directory as it's now included in the base evolution directory. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/Makefile.am: Changed the place where libversit is looked for. * addressbook/backend/ebook/e-book-listener.c: Fixed some indentation. * addressbook/backend/ebook/e-card-pairs.h, addressbook/backend/ebook/e-card-types.h: Commented out some code to get this to compile. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Turned this into a GTK+ object. * addressbook/backend/pas/pas.c, addressbook/backend/ebook/test-client.c: Include gnome.h and gnorba.h. * addressbook/backend/idl/addressbook.idl: Include Bonobo.idl instead of bonobo-unknown.idl. * addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-book.c, addressbook/contact-editor/test-editor.c, addressbook/contact-editor/e-contact-editor.c, addressbook/printing/e-contact-print.c, addressbook/printing/test-contact-print-style-editor.c, addressbook/printing/test-print.c: Killed some warnings. svn path=/trunk/; revision=2150
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();