diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-12-08 07:49:26 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-12-08 07:49:26 +0800 |
commit | 9a915c77dbf27679490cf1537c7a5676ae31a188 (patch) | |
tree | 22f49564812e0a4f44cdff34f064a6d5ccf61547 | |
parent | 7eb086940fac5b54ee466ea5b7051351f36b0e90 (diff) | |
download | gsoc2013-evolution-9a915c77dbf27679490cf1537c7a5676ae31a188.tar.gz 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
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 47592a7a98..2fc7f53605 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-12-07 Christopher James Lahey <clahey@helixcode.com> + + * gui/widgets/e-addressbook-view.c: Got rid of code referencing + the ETableScrolled proxy functions. + 2000-12-06 Christopher James Lahey <clahey@helixcode.com> * gui/component/addressbook.c: Moved the gal view menu stuff from 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)); |