[gnome-commander] noop: code cleanup (gnome_cmd_clist_get_type() -> GNOME_CMD_TYPE_CLIST)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup (gnome_cmd_clist_get_type() -> GNOME_CMD_TYPE_CLIST)
- Date: Sat, 29 Jan 2011 22:16:11 +0000 (UTC)
commit 4571edd29fd27e9877b7a35bce780671b9a258ee
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Jan 29 23:15:40 2011 +0100
noop: code cleanup (gnome_cmd_clist_get_type() -> GNOME_CMD_TYPE_CLIST)
src/gnome-cmd-clist.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-clist.h b/src/gnome-cmd-clist.h
index 5b28065..8f428be 100644
--- a/src/gnome-cmd-clist.h
+++ b/src/gnome-cmd-clist.h
@@ -20,9 +20,12 @@
#ifndef __GNOME_CMD_CLIST_H__
#define __GNOME_CMD_CLIST_H__
-#define GNOME_CMD_TYPE_CLIST (gnome_cmd_clist_get_type ())
-#define GNOME_CMD_CLIST(obj) (GTK_CHECK_CAST (obj, GNOME_CMD_TYPE_CLIST, GnomeCmdCList))
-#define GNOME_CMD_IS_CLIST(obj) (GTK_CHECK_TYPE (obj, GNOME_CMD_TYPE_CLIST))
+#define GNOME_CMD_TYPE_CLIST (gnome_cmd_clist_get_type ())
+#define GNOME_CMD_CLIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNOME_CMD_TYPE_CLIST, GnomeCmdCList))
+#define GNOME_CMD_CLIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNOME_CMD_TYPE_CLIST, GnomeCmdCListClass))
+#define GNOME_CMD_IS_CLIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNOME_CMD_TYPE_CLIST))
+#define GNOME_CMD_IS_CLIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_CMD_TYPE_CLIST))
+#define GNOME_CMD_CLIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_CLIST, GnomeCmdCListClass))
struct GnomeCmdCListPrivate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]