aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-16 10:15:27 -0500
committerTed Gould <ted@canonical.com>2009-04-16 10:15:27 -0500
commit702c3dc2dc729fd5af401ceffe6f1a9ae0276921 (patch)
tree37d7a0bc5848c4e8bd82f239e8507e170895aeec
parentc317346bb949b4ad8b87082668e93535d7ae47ae (diff)
downloadlibdbusmenu-702c3dc2dc729fd5af401ceffe6f1a9ae0276921.tar.gz
libdbusmenu-702c3dc2dc729fd5af401ceffe6f1a9ae0276921.tar.bz2
libdbusmenu-702c3dc2dc729fd5af401ceffe6f1a9ae0276921.zip
Changing the type name to make more sense
-rw-r--r--libdbusmenu-glib/client.c2
-rw-r--r--libdbusmenu-glib/client.h12
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;