diff options
author | Christian Persch <chpe@src.gnome.org> | 2003-09-02 07:20:17 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-09-02 07:20:17 +0800 |
commit | 73a95385f4034998cc78199dc8bb9ee22d90d6aa (patch) | |
tree | 499d78ab52e8937f672e3659105dda083a34c988 /src/session.h | |
parent | 3375c1878c4c0ebf4f5067d128024ea484208f62 (diff) | |
download | gsoc2013-epiphany-73a95385f4034998cc78199dc8bb9ee22d90d6aa.tar gsoc2013-epiphany-73a95385f4034998cc78199dc8bb9ee22d90d6aa.tar.gz gsoc2013-epiphany-73a95385f4034998cc78199dc8bb9ee22d90d6aa.tar.bz2 gsoc2013-epiphany-73a95385f4034998cc78199dc8bb9ee22d90d6aa.tar.lz gsoc2013-epiphany-73a95385f4034998cc78199dc8bb9ee22d90d6aa.tar.xz gsoc2013-epiphany-73a95385f4034998cc78199dc8bb9ee22d90d6aa.tar.zst gsoc2013-epiphany-73a95385f4034998cc78199dc8bb9ee22d90d6aa.zip |
Mega-patch, changelog too long to paste here.
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/session.h b/src/session.h index 9cba42628..0926a0f50 100644 --- a/src/session.h +++ b/src/session.h @@ -19,25 +19,25 @@ #ifndef SESSION_H #define SESSION_H -#define SESSION_CRASHED "type:session_crashed" -#define SESSION_GNOME "type:session_gnome" - #include "ephy-window.h" -G_BEGIN_DECLS - #include <glib-object.h> #include <glib.h> -typedef struct Session Session; -typedef struct SessionClass SessionClass; +G_BEGIN_DECLS + +#define EPHY_TYPE_SESSION (session_get_type ()) +#define EPHY_SESSION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_SESSION, Session)) +#define EPHY_SESSION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_SESSION, SessionClass)) +#define EPHY_IS_SESSION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_SESSION)) +#define EPHY_IS_SESSION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_SESSION)) +#define EPHY_SESSION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SESSION, SessionClass)) -#define SESSION_TYPE (session_get_type ()) -#define SESSION(obj) (GTK_CHECK_CAST ((obj), SESSION_TYPE, Session)) -#define SESSION_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), SESSION, SessionClass)) -#define IS_SESSION(obj) (GTK_CHECK_TYPE ((obj), SESSION_TYPE)) -#define IS_SESSION_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), SESSION)) +#define SESSION_CRASHED "type:session_crashed" +#define SESSION_GNOME "type:session_gnome" +typedef struct Session Session; +typedef struct SessionClass SessionClass; typedef struct SessionPrivate SessionPrivate; struct Session |