diff options
author | JP Rosevear <jpr@ximian.com> | 2003-10-30 03:29:47 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-10-30 03:29:47 +0800 |
commit | 741182663966e288b4de8666f336b70a7d4ee856 (patch) | |
tree | 04c98771a2dd81aa3349f5705f7bcde6f34af4b4 /calendar/gui/e-date-edit-config.h | |
parent | 7a7f61dfde6db608dabb65022d3a817cdf710a98 (diff) | |
download | gsoc2013-evolution-741182663966e288b4de8666f336b70a7d4ee856.tar.gz gsoc2013-evolution-741182663966e288b4de8666f336b70a7d4ee856.tar.zst gsoc2013-evolution-741182663966e288b4de8666f336b70a7d4ee856.zip |
build new files
2003-10-29 JP Rosevear <jpr@ximian.com>
* gui/Makefile.am: build new files
* gui/dialogs/comp-editor-util.c (date_edit_destroy_cb): unref the
config manager
(comp_editor_new_date_edit): set up a config manager for the date
editor
* gui/e-date-edit-config.[hc]: config manager for e-date-edit
svn path=/trunk/; revision=23122
Diffstat (limited to 'calendar/gui/e-date-edit-config.h')
-rw-r--r-- | calendar/gui/e-date-edit-config.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/calendar/gui/e-date-edit-config.h b/calendar/gui/e-date-edit-config.h new file mode 100644 index 0000000000..0707666bff --- /dev/null +++ b/calendar/gui/e-date-edit-config.h @@ -0,0 +1,55 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Author : + * JP Rosevear <jpr@ximian.com> + * + * Copyright 2003, Ximian, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ + +#ifndef _E_DATE_EDIT_CONFIG_H_ +#define _E_DATE_EDIT_CONFIG_H_ + +#include <widgets/misc/e-dateedit.h> + +G_BEGIN_DECLS + +#define E_DATE_EDIT_CONFIG(obj) GTK_CHECK_CAST (obj, e_date_edit_config_get_type (), EDateEditConfig) +#define E_DATE_EDIT_CONFIG_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, e_date_edit_config_get_type (), EDateEditConfigClass) +#define E_IS_DATE_EDIT_CONFIG(obj) GTK_CHECK_TYPE (obj, e_date_edit_config_get_type ()) + +typedef struct _EDateEditConfig EDateEditConfig; +typedef struct _EDateEditConfigClass EDateEditConfigClass; +typedef struct _EDateEditConfigPrivate EDateEditConfigPrivate; + +struct _EDateEditConfig { + GObject parent; + + EDateEditConfigPrivate *priv; +}; + +struct _EDateEditConfigClass { + GObjectClass parent_class; +}; + +GType e_date_edit_config_get_type (void); +EDateEditConfig *e_date_edit_config_new (EDateEdit *date_edit); +EDateEdit *e_date_edit_config_get_edit (EDateEditConfig *edit_config); +void e_date_edit_config_set_edit (EDateEditConfig *edit_config, EDateEdit *date_edit); + +G_END_DECLS + +#endif |