From 5d92db014941daf0831694f00deb6c1f6cb22e69 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 9 Jan 2003 02:31:46 +0000 Subject: add parent arg. 2003-01-08 Chris Toshok * gui/widgets/gal-view-minicard.c (gal_view_minicard_edit): add parent arg. * gui/widgets/e-addressbook-treeview-adapter.[ch]: new files, for a GtkTreeView view of contacts. * gui/widgets/gal-view-treeview.[ch]: same * gui/widgets/gal-view-favroty-treeview.[ch]: same svn path=/trunk/; revision=19299 --- .../gui/widgets/gal-view-factory-treeview.h | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 addressbook/gui/widgets/gal-view-factory-treeview.h (limited to 'addressbook/gui/widgets/gal-view-factory-treeview.h') diff --git a/addressbook/gui/widgets/gal-view-factory-treeview.h b/addressbook/gui/widgets/gal-view-factory-treeview.h new file mode 100644 index 0000000000..4795c6d3aa --- /dev/null +++ b/addressbook/gui/widgets/gal-view-factory-treeview.h @@ -0,0 +1,35 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * gal-view-factory-treeview.c: A View Factory + * + * Authors: + * Chris Toshok + * + * (C) 2000, 2001 Ximian, Inc. + */ +#ifndef _GAL_VIEW_FACTORY_TREEVIEW_H_ +#define _GAL_VIEW_FACTORY_TREEVIEW_H_ + +#include +#include + +#define GAL_TYPE_VIEW_FACTORY_TREEVIEW (gal_view_factory_treeview_get_type ()) +#define GAL_VIEW_FACTORY_TREEVIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GAL_TYPE_VIEW_FACTORY_TREEVIEW, GalViewFactoryTreeView)) +#define GAL_VIEW_FACTORY_TREEVIEW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GAL_TYPE_VIEW_FACTORY_TREEVIEW, GalViewFactoryTreeViewClass)) +#define GAL_IS_VIEW_FACTORY_TREEVIEW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GAL_TYPE_VIEW_FACTORY_TREEVIEW)) +#define GAL_IS_VIEW_FACTORY_TREEVIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GAL_TYPE_VIEW_FACTORY_TREEVIEW)) + +typedef struct { + GalViewFactory base; +} GalViewFactoryTreeView; + +typedef struct { + GalViewFactoryClass parent_class; +} GalViewFactoryTreeViewClass; + +/* Standard functions */ +GType gal_view_factory_treeview_get_type (void); +GalViewFactory *gal_view_factory_treeview_new (void); +GalViewFactory *gal_view_factory_treeview_construct (GalViewFactoryTreeView *factory); + +#endif /* _GAL_VIEW_FACTORY_TREEVIEW_H_ */ -- cgit v1.2.3