[gnome-commander] noop: code cleanup (gnome_cmd_cmdline_get_type() -> GNOME_CMD_TYPE_CMDLINE)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup (gnome_cmd_cmdline_get_type() -> GNOME_CMD_TYPE_CMDLINE)
- Date: Sat, 29 Jan 2011 22:20:57 +0000 (UTC)
commit 71dceda8d51292c8d879468c9afe7faf281388c4
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sat Jan 29 23:18:55 2011 +0100
noop: code cleanup (gnome_cmd_cmdline_get_type() -> GNOME_CMD_TYPE_CMDLINE)
src/gnome-cmd-cmdline.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-cmdline.h b/src/gnome-cmd-cmdline.h
index 6222174..1f9a3cf 100644
--- a/src/gnome-cmd-cmdline.h
+++ b/src/gnome-cmd-cmdline.h
@@ -20,9 +20,12 @@
#ifndef __GNOME_CMD_CMDLINE_H__
#define __GNOME_CMD_CMDLINE_H__
-#define GNOME_CMD_TYPE_CMDLINE (gnome_cmd_cmdline_get_type ())
-#define GNOME_CMD_CMDLINE(obj) (GTK_CHECK_CAST (obj, GNOME_CMD_TYPE_CMDLINE, GnomeCmdCmdline))
-#define GNOME_CMD_IS_CMDLINE(obj) (GTK_CHECK_TYPE (obj, GNOME_CMD_TYPE_CMDLINE))
+#define GNOME_CMD_TYPE_CMDLINE (gnome_cmd_cmdline_get_type ())
+#define GNOME_CMD_CMDLINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNOME_CMD_TYPE_CMDLINE, GnomeCmdCmdline))
+#define GNOME_CMD_CMDLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNOME_CMD_TYPE_CMDLINE, GnomeCmdCmdlineClass))
+#define GNOME_CMD_IS_CMDLINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNOME_CMD_TYPE_CMDLINE))
+#define GNOME_CMD_IS_CMDLINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_CMD_TYPE_CMDLINE))
+#define GNOME_CMD_CMDLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_CMDLINE, GnomeCmdCmdlineClass))
struct GnomeCmdCmdlinePrivate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]