diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-11-02 08:23:28 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-11-02 08:23:28 +0800 |
commit | 793f838a7be8618034e8544ca364c0f09457f316 (patch) | |
tree | 8ea3e85045955877d56edd31b40ef263ed11a637 /filter/filter-label.h | |
parent | e5f0f54052e2bec6f02d4f0c3169355ffdb4f7ec (diff) | |
download | gsoc2013-evolution-793f838a7be8618034e8544ca364c0f09457f316.tar.gz gsoc2013-evolution-793f838a7be8618034e8544ca364c0f09457f316.tar.zst gsoc2013-evolution-793f838a7be8618034e8544ca364c0f09457f316.zip |
Ported to GObject.
2002-11-01 Jeffrey Stedfast <fejj@ximian.com>
* filter-element.c: Ported to GObject.
* filter-input.c: Same.
* filter-code.c: This too.
* filter-colour.c: And this.
* filter-datespec.c: You guessed it.
* filter-file.c: And again...
* filter-folder.c: Wheee! This is fun...
* filter-int.c: Gee, I wonder...
* filter-label.c: Also ported.
* filter-option.c: Yep, this too.
* filter-source.c: And finally this one.
svn path=/trunk/; revision=18495
Diffstat (limited to 'filter/filter-label.h')
-rw-r--r-- | filter/filter-label.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/filter/filter-label.h b/filter/filter-label.h index a348e88efb..c62f806fa0 100644 --- a/filter/filter-label.h +++ b/filter/filter-label.h @@ -31,15 +31,18 @@ extern "C" { #include "filter-option.h" -#define FILTER_LABEL(obj) GTK_CHECK_CAST (obj, filter_label_get_type (), FilterLabel) -#define FILTER_LABEL_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, filter_label_get_type (), FilterLabelClass) -#define IS_FILTER_LABEL(obj) GTK_CHECK_TYPE (obj, filter_label_get_type ()) +#define FILTER_TYPE_LABEL (filter_label_get_type ()) +#define FILTER_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FILTER_TYPE_LABEL, FilterLabel)) +#define FILTER_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FILTER_TYPE_LABEL, FilterLabelClass)) +#define IS_FILTER_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FILTER_TYPE_LABEL)) +#define IS_FILTER_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FILTER_TYPE_LABEL)) +#define FILTER_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FILTER_TYPE_LABEL, FilterLabelClass)) typedef struct _FilterLabel FilterLabel; typedef struct _FilterLabelClass FilterLabelClass; struct _FilterLabel { - FilterOption parent; + FilterOption parent_object; }; struct _FilterLabelClass { @@ -50,14 +53,14 @@ struct _FilterLabelClass { /* signals */ }; -GtkType filter_label_get_type (void); +GType filter_label_get_type (void); FilterLabel *filter_label_new (void); /* Sigh, this is a mess, but its cleaner than the original mess */ -int filter_label_count(void); -const char *filter_label_label(int i); -int filter_label_index(const char *label); +int filter_label_count (void); +const char *filter_label_label (int i); +int filter_label_index (const char *label); #ifdef __cplusplus } |