From c57de49bb5d65df1fa0d63285b296397be3af6f8 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 10 Jun 2000 21:16:45 +0000 Subject: Added $(GNOME_PRINT_LIBS) to all of the LDADDs. 2000-06-10 Christopher James Lahey * Makefile.am: Added $(GNOME_PRINT_LIBS) to all of the LDADDs. * e-cell-text.c: Added printing of text cells. * e-cell.c, e-cell.h: Added print and print_height methods. * e-table-field-chooser.glade: Added a minimum size. * e-table-group-container.c: Fixed a rectangle sizing bug. * e-table-group-leaf.c: Implemented get_printable. * e-table-group.c, e-table-group.h: Added a get_printable method to return an EPrintable. * e-table-item.c, e-table-item.h: Added a get_printable function to return an EPrintable. * e-table.c, e-table.h: Added a get_printable function to return an EPrintable. svn path=/trunk/; revision=3511 --- widgets/e-table/e-table-group.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'widgets/e-table/e-table-group.c') diff --git a/widgets/e-table/e-table-group.c b/widgets/e-table/e-table-group.c index 987636ed6b..571280e46f 100644 --- a/widgets/e-table/e-table-group.c +++ b/widgets/e-table/e-table-group.c @@ -240,6 +240,18 @@ e_table_group_get_ecol (ETableGroup *etg) return NULL; } +EPrintable * +e_table_group_get_printable (ETableGroup *etg) +{ + g_return_val_if_fail (etg != NULL, NULL); + g_return_val_if_fail (E_IS_TABLE_GROUP (etg), NULL); + + if (ETG_CLASS (etg)->get_printable) + return ETG_CLASS (etg)->get_printable (etg); + else + return NULL; +} + void e_table_group_row_selection (ETableGroup *e_table_group, gint row, gboolean selected) { @@ -369,6 +381,7 @@ etg_class_init (GtkObjectClass *object_class) klass->unfocus = NULL; klass->get_focus = etg_get_focus; klass->get_ecol = NULL; + klass->get_printable = NULL; etg_parent_class = gtk_type_class (PARENT_TYPE); -- cgit v1.2.3