[gnome-commander] noop: code cleanup (gnome_cmd_main_win_get_type() -> GNOME_CMD_TYPE_MAIN_WIN)



commit c0c25018ac704a5e19c95ab9d25cad486c639cda
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Jan 26 23:05:57 2011 +0100

    noop: code cleanup (gnome_cmd_main_win_get_type() -> GNOME_CMD_TYPE_MAIN_WIN)

 src/gnome-cmd-main-win.h |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.h b/src/gnome-cmd-main-win.h
index f4f4328..6281a41 100644
--- a/src/gnome-cmd-main-win.h
+++ b/src/gnome-cmd-main-win.h
@@ -27,10 +27,12 @@
 #include "plugin_manager.h"
 #include "dialogs/gnome-cmd-advrename-dialog.h"
 
-#define GNOME_CMD_TYPE_MAIN_WIN          (gnome_cmd_main_win_get_type ())
-#define GNOME_CMD_MAIN_WIN(obj)          GTK_CHECK_CAST(obj, GNOME_CMD_TYPE_MAIN_WIN, GnomeCmdMainWin)
-#define GNOME_CMD_MAIN_WIN_CLASS(klass)  GTK_CHECK_CLASS_CAST(klass, GNOME_CMD_TYPE_MAIN_WIN, GnomeCmdMainWinClass)
-#define GNOME_CMD_IS_MAIN_WIN(obj)       GTK_CHECK_TYPE(obj, GNOME_CMD_TYPE_MAIN_WIN)
+#define GNOME_CMD_TYPE_MAIN_WIN              (gnome_cmd_main_win_get_type ())
+#define GNOME_CMD_MAIN_WIN(obj)              (G_TYPE_CHECK_INSTANCE_CAST((obj), GNOME_CMD_TYPE_MAIN_WIN, GnomeCmdMainWin))
+#define GNOME_CMD_MAIN_WIN_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), GNOME_CMD_TYPE_MAIN_WIN, GnomeCmdMainWinClass))
+#define GNOME_CMD_IS_MAIN_WIN(obj)           (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNOME_CMD_TYPE_MAIN_WIN))
+#define GNOME_CMD_IS_MAIN_WIN_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_CMD_TYPE_MAIN_WIN))
+#define GNOME_CMD_MAIN_WIN_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_MAIN_WIN, GnomeCmdMainWinClass))
 
 
 GtkType gnome_cmd_main_win_get_type ();



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