aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/pas-backend-file.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-05 19:09:59 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-05 19:09:59 +0800
commit8e9511af0e47355211e189d5cba5dcd9ae97584c (patch)
treee85c07a8fa9537b996ee82b48ec3652247a82278 /addressbook/backend/pas/pas-backend-file.h
parent02e66b1085341d95377d3f2173a1900102f20b9b (diff)
downloadgsoc2013-evolution-8e9511af0e47355211e189d5cba5dcd9ae97584c.tar
gsoc2013-evolution-8e9511af0e47355211e189d5cba5dcd9ae97584c.tar.gz
gsoc2013-evolution-8e9511af0e47355211e189d5cba5dcd9ae97584c.tar.bz2
gsoc2013-evolution-8e9511af0e47355211e189d5cba5dcd9ae97584c.tar.lz
gsoc2013-evolution-8e9511af0e47355211e189d5cba5dcd9ae97584c.tar.xz
gsoc2013-evolution-8e9511af0e47355211e189d5cba5dcd9ae97584c.tar.zst
gsoc2013-evolution-8e9511af0e47355211e189d5cba5dcd9ae97584c.zip
port to gnome 2.
2002-11-05 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-card-sexp.[ch]: port to gnome 2. * backend/pas/pas-backend-file.[ch]: same. * backend/pas/pas-backend-file.[ch]: same. * backend/pas/pas-backend-ldap.[ch]: same. * backend/pas/pas-backend-summary.[ch]: same. * backend/pas/pas-backend.[ch]: same. * backend/pas/pas-book-factory.[ch]: same. * backend/pas/pas-book-view.[ch]: same. * backend/pas/pas-book.[ch]: same. * backend/pas/pas-card-cursor.[ch]: same. * backend/pas/pas-marshal.list: list of marshallers. * backend/pas/Makefile.am (libpas_a_SOURCES): add pas-marshal.c also add the marshal building foo. * backend/pas/.cvsignore: ignore pas-marshal.[ch] svn path=/trunk/; revision=18544
Diffstat (limited to 'addressbook/backend/pas/pas-backend-file.h')
-rw-r--r--addressbook/backend/pas/pas-backend-file.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.h b/addressbook/backend/pas/pas-backend-file.h
index 6c29c8b7a2..fd98d2cdd5 100644
--- a/addressbook/backend/pas/pas-backend-file.h
+++ b/addressbook/backend/pas/pas-backend-file.h
@@ -5,9 +5,15 @@
#ifndef __PAS_BACKEND_FILE_H__
#define __PAS_BACKEND_FILE_H__
-#include <libgnome/gnome-defs.h>
#include "pas-backend.h"
+#define PAS_TYPE_BACKEND_FILE (pas_backend_file_get_type ())
+#define PAS_BACKEND_FILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PAS_TYPE_BACKEND_FILE, PASBackendFile))
+#define PAS_BACKEND_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PAS_BACKEND_TYPE, PASBackendFileClass))
+#define PAS_IS_BACKEND_FILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PAS_TYPE_BACKEND_FILE))
+#define PAS_IS_BACKEND_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PAS_TYPE_BACKEND_FILE))
+#define PAS_BACKEND_FILE_GET_CLASS(k) (G_TYPE_INSTANCE_GET_CLASS ((obj), PAS_TYPE_BACKEND_FILE, PASBackendFileClass))
+
typedef struct _PASBackendFilePrivate PASBackendFilePrivate;
typedef struct {
@@ -20,13 +26,7 @@ typedef struct {
} PASBackendFileClass;
PASBackend *pas_backend_file_new (void);
-GtkType pas_backend_file_get_type (void);
-
-#define PAS_BACKEND_FILE_TYPE (pas_backend_file_get_type ())
-#define PAS_BACKEND_FILE(o) (GTK_CHECK_CAST ((o), PAS_BACKEND_FILE_TYPE, PASBackendFile))
-#define PAS_BACKEND_FILE_CLASS(k) (GTK_CHECK_CLASS_CAST((k), PAS_BACKEND_TYPE, PASBackendFileClass))
-#define PAS_IS_BACKEND_FILE(o) (GTK_CHECK_TYPE ((o), PAS_BACKEND_FILE_TYPE))
-#define PAS_IS_BACKEND_FILE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), PAS_BACKEND_FILE_TYPE))
+GType pas_backend_file_get_type (void);
#endif /* ! __PAS_BACKEND_FILE_H__ */