From 9a915c77dbf27679490cf1537c7a5676ae31a188 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 7 Dec 2000 23:49:26 +0000 Subject: Got rid of code referencing the ETableScrolled proxy functions. 2000-12-07 Christopher James Lahey * gui/widgets/e-addressbook-view.c: Got rid of code referencing the ETableScrolled proxy functions. svn path=/trunk/; revision=6853 --- addressbook/gui/widgets/e-addressbook-view.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 2eab704e37..7f73ab42db 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -723,12 +723,14 @@ e_addressbook_view_print(EAddressbookView *view) } else if (view->view_type == E_ADDRESSBOOK_VIEW_TABLE) { GtkWidget *dialog; EPrintable *printable; + ETable *etable; dialog = gnome_print_dialog_new("Print cards", GNOME_PRINT_DIALOG_RANGE | GNOME_PRINT_DIALOG_COPIES); gnome_print_dialog_construct_range_any(GNOME_PRINT_DIALOG(dialog), GNOME_PRINT_RANGE_ALL | GNOME_PRINT_RANGE_SELECTION, NULL, NULL, NULL); - - printable = e_table_scrolled_get_printable(E_TABLE_SCROLLED(view->widget)); + + gtk_object_get(GTK_OBJECT(view->widget), "table", &etable, NULL); + printable = e_table_get_printable(etable); gtk_object_ref(GTK_OBJECT(view->widget)); -- cgit v1.2.3