aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-view.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-08 07:49:26 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-08 07:49:26 +0800
commit9a915c77dbf27679490cf1537c7a5676ae31a188 (patch)
tree22f49564812e0a4f44cdff34f064a6d5ccf61547 /addressbook/gui/widgets/e-addressbook-view.c
parent7eb086940fac5b54ee466ea5b7051351f36b0e90 (diff)
downloadgsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.tar
gsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.tar.gz
gsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.tar.bz2
gsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.tar.lz
gsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.tar.xz
gsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.tar.zst
gsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.zip
Got rid of code referencing the ETableScrolled proxy functions.
2000-12-07 Christopher James Lahey <clahey@helixcode.com> * gui/widgets/e-addressbook-view.c: Got rid of code referencing the ETableScrolled proxy functions. svn path=/trunk/; revision=6853
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c6
1 files changed, 4 insertions, 2 deletions
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));