diff options
author | Ted Gould <ted@canonical.com> | 2009-04-16 10:15:27 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-16 10:15:27 -0500 |
commit | 702c3dc2dc729fd5af401ceffe6f1a9ae0276921 (patch) | |
tree | 37d7a0bc5848c4e8bd82f239e8507e170895aeec | |
parent | c317346bb949b4ad8b87082668e93535d7ae47ae (diff) | |
download | libdbusmenu-702c3dc2dc729fd5af401ceffe6f1a9ae0276921.tar.gz libdbusmenu-702c3dc2dc729fd5af401ceffe6f1a9ae0276921.tar.bz2 libdbusmenu-702c3dc2dc729fd5af401ceffe6f1a9ae0276921.zip |
Changing the type name to make more sense
-rw-r--r-- | libdbusmenu-glib/client.c | 2 | ||||
-rw-r--r-- | libdbusmenu-glib/client.h | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 434b22e..fc60101 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -12,7 +12,7 @@ struct _DbusmenuClientPrivate }; #define DBUSMENU_CLIENT_GET_PRIVATE(o) \ -(G_TYPE_INSTANCE_GET_PRIVATE ((o), DBUSMENU_CLIENT_TYPE, DbusmenuClientPrivate)) +(G_TYPE_INSTANCE_GET_PRIVATE ((o), DBUSMENU_TYPE_CLIENT, DbusmenuClientPrivate)) static void dbusmenu_client_class_init (DbusmenuClientClass *klass); static void dbusmenu_client_init (DbusmenuClient *self); diff --git a/libdbusmenu-glib/client.h b/libdbusmenu-glib/client.h index a926cc6..d54b9d7 100644 --- a/libdbusmenu-glib/client.h +++ b/libdbusmenu-glib/client.h @@ -8,12 +8,12 @@ G_BEGIN_DECLS -#define DBUSMENU_CLIENT_TYPE (dbusmenu_client_get_type ()) -#define DBUSMENU_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUSMENU_CLIENT_TYPE, DbusmenuClient)) -#define DBUSMENU_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DBUSMENU_CLIENT_TYPE, DbusmenuClientClass)) -#define DBUSMENU_IS_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUSMENU_CLIENT_TYPE)) -#define DBUSMENU_IS_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUSMENU_CLIENT_TYPE)) -#define DBUSMENU_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUSMENU_CLIENT_TYPE, DbusmenuClientClass)) +#define DBUSMENU_TYPE_CLIENT (dbusmenu_client_get_type ()) +#define DBUSMENU_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUSMENU_TYPE_CLIENT, DbusmenuClient)) +#define DBUSMENU_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DBUSMENU_TYPE_CLIENT, DbusmenuClientClass)) +#define DBUSMENU_IS_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUSMENU_TYPE_CLIENT)) +#define DBUSMENU_IS_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUSMENU_TYPE_CLIENT)) +#define DBUSMENU_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUSMENU_TYPE_CLIENT, DbusmenuClientClass)) typedef struct _DbusmenuClient DbusmenuClient; typedef struct _DbusmenuClientClass DbusmenuClientClass; |