[gnome-commander] noop: code cleanup (gnome_cmd_chown_component_get_type() -> GNOME_CMD_TYPE_CHOWN_COMPONENT)



commit d5641e9a378ef0e70322888429ab671a6d30e1df
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Jan 29 23:14:15 2011 +0100

    noop: code cleanup (gnome_cmd_chown_component_get_type() -> GNOME_CMD_TYPE_CHOWN_COMPONENT)

 src/gnome-cmd-chown-component.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-chown-component.h b/src/gnome-cmd-chown-component.h
index 3c08d56..6f113fc 100644
--- a/src/gnome-cmd-chown-component.h
+++ b/src/gnome-cmd-chown-component.h
@@ -23,9 +23,12 @@
 
 #include "gnome-cmd-file.h"
 
-#define GNOME_CMD_TYPE_CHOWN_COMPONENT      (gnome_cmd_chown_component_get_type ())
-#define GNOME_CMD_CHOWN_COMPONENT(obj)      (GTK_CHECK_CAST (obj, GNOME_CMD_TYPE_CHOWN_COMPONENT, GnomeCmdChownComponent))
-#define GNOME_CMD_IS_CHOWN_COMPONENT(obj)   (GTK_CHECK_TYPE (obj, GNOME_CMD_TYPE_CHOWN_COMPONENT))
+#define GNOME_CMD_TYPE_CHOWN_COMPONENT              (gnome_cmd_chown_component_get_type ())
+#define GNOME_CMD_CHOWN_COMPONENT(obj)              (G_TYPE_CHECK_INSTANCE_CAST((obj), GNOME_CMD_TYPE_CHOWN_COMPONENT, GnomeCmdChownComponent))
+#define GNOME_CMD_CHOWN_COMPONENT_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), GNOME_CMD_TYPE_CHOWN_COMPONENT, GnomeCmdChownComponentClass))
+#define GNOME_CMD_IS_CHOWN_COMPONENT(obj)           (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNOME_CMD_TYPE_CHOWN_COMPONENT))
+#define GNOME_CMD_IS_CHOWN_COMPONENT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_CMD_TYPE_CHOWN_COMPONENT))
+#define GNOME_CMD_CHOWN_COMPONENT_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_CHOWN_COMPONENT, GnomeCmdChownComponentClass))
 
 
 struct GnomeCmdChownComponentPrivate;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]