[gnome-commander] noop: code cleanup (gnome_cmd_xfer_progress_win_get_type() -> GNOME_CMD_TYPE_XFER_PROGRESS_WIN)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup (gnome_cmd_xfer_progress_win_get_type() -> GNOME_CMD_TYPE_XFER_PROGRESS_WIN)
- Date: Wed, 26 Jan 2011 22:11:41 +0000 (UTC)
commit cec4b386b15a4737bb9b61e7438102588b5a6304
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Wed Jan 26 22:48:32 2011 +0100
noop: code cleanup (gnome_cmd_xfer_progress_win_get_type() -> GNOME_CMD_TYPE_XFER_PROGRESS_WIN)
src/gnome-cmd-xfer-progress-win.cc | 2 +-
src/gnome-cmd-xfer-progress-win.h | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-cmd-xfer-progress-win.cc b/src/gnome-cmd-xfer-progress-win.cc
index 99605b5..01bb3e6 100644
--- a/src/gnome-cmd-xfer-progress-win.cc
+++ b/src/gnome-cmd-xfer-progress-win.cc
@@ -117,7 +117,7 @@ static void init (GnomeCmdXferProgressWin *win)
GtkWidget *gnome_cmd_xfer_progress_win_new (guint no_of_files)
{
- GnomeCmdXferProgressWin *win = (GnomeCmdXferProgressWin *) gtk_type_new (gnome_cmd_xfer_progress_win_get_type ());
+ GnomeCmdXferProgressWin *win = (GnomeCmdXferProgressWin *) gtk_type_new (GNOME_CMD_TYPE_XFER_PROGRESS_WIN);
if (no_of_files<2)
{
diff --git a/src/gnome-cmd-xfer-progress-win.h b/src/gnome-cmd-xfer-progress-win.h
index edd7d11..162bc9c 100644
--- a/src/gnome-cmd-xfer-progress-win.h
+++ b/src/gnome-cmd-xfer-progress-win.h
@@ -21,12 +21,12 @@
#ifndef __GNOME_CMD_XFER_PROGRESS_WIN_H__
#define __GNOME_CMD_XFER_PROGRESS_WIN_H__
-#define GNOME_CMD_XFER_PROGRESS_WIN(obj) \
- GTK_CHECK_CAST (obj, gnome_cmd_xfer_progress_win_get_type (), GnomeCmdXferProgressWin)
-#define GNOME_CMD_XFER_PROGRESS_WIN_CLASS(klass) \
- GTK_CHECK_CLASS_CAST (klass, gnome_cmd_xfer_progress_win_get_type (), GnomeCmdXferProgressWinClass)
-#define GNOME_CMD_IS_XFER_PROGRESS_WIN(obj) \
- GTK_CHECK_TYPE (obj, gnome_cmd_xfer_progress_win_get_type ())
+#define GNOME_CMD_TYPE_XFER_PROGRESS_WIN (gnome_cmd_xfer_progress_win_get_type ())
+#define GNOME_CMD_XFER_PROGRESS_WIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNOME_CMD_TYPE_XFER_PROGRESS_WIN, GnomeCmdXferProgressWin))
+#define GNOME_CMD_XFER_PROGRESS_WIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNOME_CMD_TYPE_XFER_PROGRESS_WIN, GnomeCmdXferProgressWinClass))
+#define GNOME_CMD_IS_XFER_PROGRESS_WIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNOME_CMD_TYPE_XFER_PROGRESS_WIN))
+#define GNOME_CMD_IS_XFER_PROGRESS_WIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_CMD_TYPE_XFER_PROGRESS_WIN))
+#define GNOME_CMD_XFER_PROGRESS_WIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CMD_TYPE_XFER_PROGRESS_WIN, GnomeCmdXferProgressWinClass))
struct GnomeCmdXferProgressWin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]