[gnome-commander] noop: code cleanup (gnome_cmd_file_list_get_type() -> GNOME_CMD_TYPE_FILE_LIST)



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

    noop: code cleanup (gnome_cmd_file_list_get_type() -> GNOME_CMD_TYPE_FILE_LIST)

 src/gnome-cmd-file-list.h |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.h b/src/gnome-cmd-file-list.h
index 1475c34..2ec0ab1 100644
--- a/src/gnome-cmd-file-list.h
+++ b/src/gnome-cmd-file-list.h
@@ -26,9 +26,12 @@
 #include "gnome-cmd-clist.h"
 #include "gnome-cmd-xml-config.h"
 
-#define GNOME_CMD_TYPE_FILE_LIST         (gnome_cmd_file_list_get_type ())
-#define GNOME_CMD_FILE_LIST(obj)          GTK_CHECK_CAST (obj, GNOME_CMD_TYPE_FILE_LIST, GnomeCmdFileList)
-#define GNOME_CMD_IS_FILE_LIST(obj)       GTK_CHECK_TYPE (obj, GNOME_CMD_TYPE_FILE_LIST)
+#define GNOME_CMD_TYPE_FILE_LIST              (gnome_cmd_file_list_get_type ())
+#define GNOME_CMD_FILE_LIST(obj)              (G_TYPE_CHECK_INSTANCE_CAST((obj), GNOME_CMD_TYPE_FILE_LIST, GnomeCmdFileList))
+#define GNOME_CMD_FILE_LIST_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), GNOME_CMD_TYPE_FILE_LIST, GnomeCmdFileListClass))
+#define GNOME_CMD_IS_FILE_LIST(obj)           (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNOME_CMD_TYPE_FILE_LIST))
+#define GNOME_CMD_IS_FILE_LIST_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_CMD_TYPE_FILE_LIST))
+#define GNOME_CMD_FILE_LIST_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_FILE_LIST, GnomeCmdFileListClass))
 
 
 GtkType gnome_cmd_file_list_get_type ();



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