[planner] Remove deprecated GTK_CHECK_*.
- From: Luis Menina <lmenina src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planner] Remove deprecated GTK_CHECK_*.
- Date: Tue, 5 Mar 2013 17:12:19 +0000 (UTC)
commit 122e2f2660dc581c5101ab9662f18e70d0384b20
Author: Luis Menina <liberforce freeside fr>
Date: Sat Mar 2 14:47:52 2013 +0100
Remove deprecated GTK_CHECK_*.
Removed symbols:
GTK_CHECK_CAST
GTK_CHECK_CLASS_CAST
GTK_CHECK_CLASS_TYPE
GTK_CHECK_TYPE
GTK_CHECK_GET_CLASS
https://bugzilla.gnome.org/show_bug.cgi?id=575129
src/eel-canvas-rect.h | 6 +++---
src/planner-canvas-line.h | 10 +++++-----
src/planner-cell-renderer-date.h | 10 +++++-----
src/planner-cell-renderer-list.h | 10 +++++-----
src/planner-cell-renderer-popup.h | 10 +++++-----
src/planner-gantt-chart.h | 10 +++++-----
src/planner-gantt-header.h | 10 +++++-----
src/planner-gantt-model.h | 8 ++++----
src/planner-gantt-row.h | 10 +++++-----
src/planner-popup-entry.h | 10 +++++-----
src/planner-relation-arrow.h | 10 +++++-----
src/planner-sidebar.h | 10 +++++-----
src/planner-task-tree.h | 10 +++++-----
src/planner-usage-chart.h | 10 +++++-----
src/planner-usage-model.h | 8 ++++----
src/planner-usage-row.h | 10 +++++-----
src/planner-usage-tree.h | 10 +++++-----
17 files changed, 81 insertions(+), 81 deletions(-)
---
diff --git a/src/eel-canvas-rect.h b/src/eel-canvas-rect.h
index 8a3ce4e..1916460 100644
--- a/src/eel-canvas-rect.h
+++ b/src/eel-canvas-rect.h
@@ -30,9 +30,9 @@
G_BEGIN_DECLS
#define EEL_TYPE_CANVAS_RECT (eel_canvas_rect_get_type ())
-#define EEL_CANVAS_RECT(obj) (GTK_CHECK_CAST ((obj), EEL_TYPE_CANVAS_RECT, EelCanvasRect))
-#define EEL_CANVAS_RECT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), EEL_TYPE_CANVAS_RECT,
EelCanvasRectClass))
-#define EEL_IS_CANVAS_RECT(obj) (GTK_CHECK_TYPE ((obj), EEL_TYPE_CANVAS_RECT))
+#define EEL_CANVAS_RECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EEL_TYPE_CANVAS_RECT,
EelCanvasRect))
+#define EEL_CANVAS_RECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EEL_TYPE_CANVAS_RECT,
EelCanvasRectClass))
+#define EEL_IS_CANVAS_RECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EEL_TYPE_CANVAS_RECT))
typedef struct EelCanvasRectDetails EelCanvasRectDetails;
diff --git a/src/planner-canvas-line.h b/src/planner-canvas-line.h
index 3ee42c1..d7455ae 100644
--- a/src/planner-canvas-line.h
+++ b/src/planner-canvas-line.h
@@ -27,11 +27,11 @@
#include <libgnomecanvas/gnome-canvas-line.h>
#define PLANNER_TYPE_CANVAS_LINE (planner_canvas_line_get_type ())
-#define PLANNER_CANVAS_LINE(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_CANVAS_LINE,
PlannerCanvasLine))
-#define PLANNER_CANVAS_LINE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_CANVAS_LINE,
PlannerCanvasLineClass))
-#define PLANNER_IS_CANVAS_LINE(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_CANVAS_LINE))
-#define PLANNER_IS_CANVAS_LINE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), PLANNER_TYPE_CANVAS_LINE))
-#define PLANNER_CANVAS_LINE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_CANVAS_LINE,
PlannerCanvasLineClass))
+#define PLANNER_CANVAS_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_CANVAS_LINE,
PlannerCanvasLine))
+#define PLANNER_CANVAS_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_CANVAS_LINE,
PlannerCanvasLineClass))
+#define PLANNER_IS_CANVAS_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_CANVAS_LINE))
+#define PLANNER_IS_CANVAS_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLANNER_TYPE_CANVAS_LINE))
+#define PLANNER_CANVAS_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_CANVAS_LINE,
PlannerCanvasLineClass))
typedef struct _PlannerCanvasLine PlannerCanvasLine;
diff --git a/src/planner-cell-renderer-date.h b/src/planner-cell-renderer-date.h
index 2c5c54d..17aee48 100644
--- a/src/planner-cell-renderer-date.h
+++ b/src/planner-cell-renderer-date.h
@@ -31,11 +31,11 @@
#include "planner-cell-renderer-popup.h"
#define PLANNER_TYPE_CELL_RENDERER_DATE (planner_cell_renderer_date_get_type ())
-#define PLANNER_CELL_RENDERER_DATE(obj) (GTK_CHECK_CAST ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE, PlannerCellRendererDate))
-#define PLANNER_CELL_RENDERER_DATE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass),
PLANNER_TYPE_CELL_RENDERER_DATE, PlannerCellRendererDateClass))
-#define PLANNER_IS_CELL_RENDERER_DATE(obj) (GTK_CHECK_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE))
-#define PLANNER_IS_CELL_RENDERER_DATE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE))
-#define PLANNER_CELL_RENDERER_DATE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE, PlannerCellRendererDateClass))
+#define PLANNER_CELL_RENDERER_DATE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE, PlannerCellRendererDate))
+#define PLANNER_CELL_RENDERER_DATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
PLANNER_TYPE_CELL_RENDERER_DATE, PlannerCellRendererDateClass))
+#define PLANNER_IS_CELL_RENDERER_DATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE))
+#define PLANNER_IS_CELL_RENDERER_DATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE))
+#define PLANNER_CELL_RENDERER_DATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
PLANNER_TYPE_CELL_RENDERER_DATE, PlannerCellRendererDateClass))
typedef struct _PlannerCellRendererDate PlannerCellRendererDate;
typedef struct _PlannerCellRendererDateClass PlannerCellRendererDateClass;
diff --git a/src/planner-cell-renderer-list.h b/src/planner-cell-renderer-list.h
index 29328ed..85cd895 100644
--- a/src/planner-cell-renderer-list.h
+++ b/src/planner-cell-renderer-list.h
@@ -28,11 +28,11 @@
#include "planner-cell-renderer-popup.h"
#define PLANNER_TYPE_CELL_RENDERER_LIST (planner_cell_renderer_list_get_type ())
-#define PLANNER_CELL_RENDERER_LIST(obj) (GTK_CHECK_CAST ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST, PlannerCellRendererList))
-#define PLANNER_CELL_RENDERER_LIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass),
PLANNER_TYPE_CELL_RENDERER_LIST, PlannerCellRendererListClass))
-#define PLANNER_IS_CELL_RENDERER_LIST(obj) (GTK_CHECK_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST))
-#define PLANNER_IS_CELL_RENDERER_LIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST))
-#define PLANNER_CELL_RENDERER_LIST_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST, PlannerCellRendererListClass))
+#define PLANNER_CELL_RENDERER_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST, PlannerCellRendererList))
+#define PLANNER_CELL_RENDERER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
PLANNER_TYPE_CELL_RENDERER_LIST, PlannerCellRendererListClass))
+#define PLANNER_IS_CELL_RENDERER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST))
+#define PLANNER_IS_CELL_RENDERER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST))
+#define PLANNER_CELL_RENDERER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
PLANNER_TYPE_CELL_RENDERER_LIST, PlannerCellRendererListClass))
typedef struct _PlannerCellRendererList PlannerCellRendererList;
typedef struct _PlannerCellRendererListClass PlannerCellRendererListClass;
diff --git a/src/planner-cell-renderer-popup.h b/src/planner-cell-renderer-popup.h
index fe80ee9..c495e41 100644
--- a/src/planner-cell-renderer-popup.h
+++ b/src/planner-cell-renderer-popup.h
@@ -5,11 +5,11 @@
#include <gtk/gtk.h>
#define PLANNER_TYPE_CELL_RENDERER_POPUP (planner_cell_renderer_popup_get_type ())
-#define PLANNER_CELL_RENDERER_POPUP(obj) (GTK_CHECK_CAST ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP, PlannerCellRendererPopup))
-#define PLANNER_CELL_RENDERER_POPUP_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass),
PLANNER_TYPE_CELL_RENDERER_POPUP, PlannerCellRendererPopupClass))
-#define PLANNER_IS_CELL_RENDERER_POPUP(obj) (GTK_CHECK_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP))
-#define PLANNER_IS_CELL_RENDERER_POPUP_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP))
-#define PLANNER_CELL_RENDERER_POPUP_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP, PlannerCellRendererPopupClass))
+#define PLANNER_CELL_RENDERER_POPUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP, PlannerCellRendererPopup))
+#define PLANNER_CELL_RENDERER_POPUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
PLANNER_TYPE_CELL_RENDERER_POPUP, PlannerCellRendererPopupClass))
+#define PLANNER_IS_CELL_RENDERER_POPUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP))
+#define PLANNER_IS_CELL_RENDERER_POPUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP))
+#define PLANNER_CELL_RENDERER_POPUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
PLANNER_TYPE_CELL_RENDERER_POPUP, PlannerCellRendererPopupClass))
typedef struct _PlannerCellRendererPopup PlannerCellRendererPopup;
typedef struct _PlannerCellRendererPopupClass PlannerCellRendererPopupClass;
diff --git a/src/planner-gantt-chart.h b/src/planner-gantt-chart.h
index bb5829e..dd14206 100644
--- a/src/planner-gantt-chart.h
+++ b/src/planner-gantt-chart.h
@@ -28,11 +28,11 @@
#include "planner-task-tree.h"
#define PLANNER_TYPE_GANTT_CHART (planner_gantt_chart_get_type ())
-#define PLANNER_GANTT_CHART(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_GANTT_CHART,
PlannerGanttChart))
-#define PLANNER_GANTT_CHART_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_CHART,
PlannerGanttChartClass))
-#define PLANNER_IS_GANTT_CHART(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_GANTT_CHART))
-#define PLANNER_IS_GANTT_CHART_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_GANTT_CHART))
-#define PLANNER_GANTT_CHART_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_GANTT_CHART,
PlannerGanttChartClass))
+#define PLANNER_GANTT_CHART(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
PLANNER_TYPE_GANTT_CHART, PlannerGanttChart))
+#define PLANNER_GANTT_CHART_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_CHART,
PlannerGanttChartClass))
+#define PLANNER_IS_GANTT_CHART(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
PLANNER_TYPE_GANTT_CHART))
+#define PLANNER_IS_GANTT_CHART_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_GANTT_CHART))
+#define PLANNER_GANTT_CHART_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_GANTT_CHART,
PlannerGanttChartClass))
typedef struct _PlannerGanttChart PlannerGanttChart;
typedef struct _PlannerGanttChartClass PlannerGanttChartClass;
diff --git a/src/planner-gantt-header.h b/src/planner-gantt-header.h
index f7348f7..90f4d00 100644
--- a/src/planner-gantt-header.h
+++ b/src/planner-gantt-header.h
@@ -26,11 +26,11 @@
#include <gtk/gtk.h>
#define PLANNER_TYPE_GANTT_HEADER (planner_gantt_header_get_type ())
-#define PLANNER_GANTT_HEADER(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_GANTT_HEADER,
PlannerGanttHeader))
-#define PLANNER_GANTT_HEADER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_HEADER,
PlannerGanttHeaderClass))
-#define PLANNER_IS_GANTT_HEADER(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_GANTT_HEADER))
-#define PLANNER_IS_GANTT_HEADER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_GANTT_HEADER))
-#define PLANNER_GANTT_HEADER_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_GANTT_HEADER,
PlannerGanttHeaderClass))
+#define PLANNER_GANTT_HEADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
PLANNER_TYPE_GANTT_HEADER, PlannerGanttHeader))
+#define PLANNER_GANTT_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_HEADER,
PlannerGanttHeaderClass))
+#define PLANNER_IS_GANTT_HEADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
PLANNER_TYPE_GANTT_HEADER))
+#define PLANNER_IS_GANTT_HEADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_GANTT_HEADER))
+#define PLANNER_GANTT_HEADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_GANTT_HEADER,
PlannerGanttHeaderClass))
typedef struct _PlannerGanttHeader PlannerGanttHeader;
typedef struct _PlannerGanttHeaderClass PlannerGanttHeaderClass;
diff --git a/src/planner-gantt-model.h b/src/planner-gantt-model.h
index 02ce9a2..f42da01 100644
--- a/src/planner-gantt-model.h
+++ b/src/planner-gantt-model.h
@@ -28,10 +28,10 @@
#include <gtk/gtk.h>
#define PLANNER_TYPE_GANTT_MODEL (planner_gantt_model_get_type ())
-#define PLANNER_GANTT_MODEL(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_GANTT_MODEL,
PlannerGanttModel))
-#define PLANNER_GANTT_MODEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_MODEL,
PlannerGanttModelClass))
-#define PLANNER_IS_GANTT_MODEL(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_GANTT_MODEL))
-#define PLANNER_IS_GANTT_MODEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_GANTT_MODEL))
+#define PLANNER_GANTT_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_GANTT_MODEL,
PlannerGanttModel))
+#define PLANNER_GANTT_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_MODEL,
PlannerGanttModelClass))
+#define PLANNER_IS_GANTT_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_GANTT_MODEL))
+#define PLANNER_IS_GANTT_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_GANTT_MODEL))
typedef struct _PlannerGanttModel PlannerGanttModel;
typedef struct _PlannerGanttModelClass PlannerGanttModelClass;
diff --git a/src/planner-gantt-row.h b/src/planner-gantt-row.h
index bc0dff9..4cabfa7 100644
--- a/src/planner-gantt-row.h
+++ b/src/planner-gantt-row.h
@@ -28,11 +28,11 @@
#include <libgnomecanvas/gnome-canvas-util.h>
#define PLANNER_TYPE_GANTT_ROW (planner_gantt_row_get_type ())
-#define PLANNER_GANTT_ROW(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_GANTT_ROW, PlannerGanttRow))
-#define PLANNER_GANTT_ROW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_ROW,
PlannerGanttRowClass))
-#define PLANNER_IS_GANTT_ROW(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_GANTT_ROW))
-#define PLANNER_IS_GANTT_ROW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), PLANNER_TYPE_GANTT_ROW))
-#define PLANNER_GANTT_ROW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_GANTT_ROW,
PlannerGanttRowClass))
+#define PLANNER_GANTT_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_GANTT_ROW,
PlannerGanttRow))
+#define PLANNER_GANTT_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_GANTT_ROW,
PlannerGanttRowClass))
+#define PLANNER_IS_GANTT_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_GANTT_ROW))
+#define PLANNER_IS_GANTT_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLANNER_TYPE_GANTT_ROW))
+#define PLANNER_GANTT_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_GANTT_ROW,
PlannerGanttRowClass))
typedef struct _PlannerGanttRow PlannerGanttRow;
diff --git a/src/planner-popup-entry.h b/src/planner-popup-entry.h
index 2f4037b..60c6201 100644
--- a/src/planner-popup-entry.h
+++ b/src/planner-popup-entry.h
@@ -27,11 +27,11 @@
#include <gtk/gtk.h>
#define PLANNER_TYPE_POPUP_ENTRY (planner_popup_entry_get_type ())
-#define PLANNER_POPUP_ENTRY(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_POPUP_ENTRY,
PlannerPopupEntry))
-#define PLANNER_POPUP_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_POPUP_ENTRY,
PlannerPopupEntryClass))
-#define PLANNER_IS_POPUP_ENTRY(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_POPUP_ENTRY))
-#define PLANNER_IS_POPUP_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_POPUP_ENTRY))
-#define PLANNER_POPUP_ENTRY_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_POPUP_ENTRY,
PlannerPopupEntryClass))
+#define PLANNER_POPUP_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_POPUP_ENTRY,
PlannerPopupEntry))
+#define PLANNER_POPUP_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_POPUP_ENTRY,
PlannerPopupEntryClass))
+#define PLANNER_IS_POPUP_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_POPUP_ENTRY))
+#define PLANNER_IS_POPUP_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_POPUP_ENTRY))
+#define PLANNER_POPUP_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_POPUP_ENTRY,
PlannerPopupEntryClass))
typedef struct _PlannerPopupEntry PlannerPopupEntry;
typedef struct _PlannerPopupEntryClass PlannerPopupEntryClass;
diff --git a/src/planner-relation-arrow.h b/src/planner-relation-arrow.h
index 62609e5..3e93e6f 100644
--- a/src/planner-relation-arrow.h
+++ b/src/planner-relation-arrow.h
@@ -28,11 +28,11 @@
#include "planner-gantt-row.h"
#define PLANNER_TYPE_RELATION_ARROW (planner_relation_arrow_get_type ())
-#define PLANNER_RELATION_ARROW(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_RELATION_ARROW,
PlannerRelationArrow))
-#define PLANNER_RELATION_ARROW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_RELATION_ARROW,
PlannerRelationArrowClass))
-#define PLANNER_IS_RELATION_ARROW(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_RELATION_ARROW))
-#define PLANNER_IS_RELATION_ARROW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), PLANNER_TYPE_RELATION_ARROW))
-#define PLANNER_RELATION_ARROW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_RELATION_ARROW,
PlannerRelationArrowClass))
+#define PLANNER_RELATION_ARROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
PLANNER_TYPE_RELATION_ARROW, PlannerRelationArrow))
+#define PLANNER_RELATION_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
PLANNER_TYPE_RELATION_ARROW, PlannerRelationArrowClass))
+#define PLANNER_IS_RELATION_ARROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
PLANNER_TYPE_RELATION_ARROW))
+#define PLANNER_IS_RELATION_ARROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
PLANNER_TYPE_RELATION_ARROW))
+#define PLANNER_RELATION_ARROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
PLANNER_TYPE_RELATION_ARROW, PlannerRelationArrowClass))
typedef struct _PlannerRelationArrow PlannerRelationArrow;
diff --git a/src/planner-sidebar.h b/src/planner-sidebar.h
index 463ef55..d1f2ee8 100644
--- a/src/planner-sidebar.h
+++ b/src/planner-sidebar.h
@@ -26,11 +26,11 @@
#include <gtk/gtk.h>
#define PLANNER_TYPE_SIDEBAR (planner_sidebar_get_type ())
-#define PLANNER_SIDEBAR(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_SIDEBAR, PlannerSidebar))
-#define PLANNER_SIDEBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_SIDEBAR,
PlannerSidebarClass))
-#define PLANNER_IS_SIDEBAR(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_SIDEBAR))
-#define PLANNER_IS_SIDEBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_SIDEBAR))
-#define PLANNER_SIDEBAR_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_SIDEBAR,
PlannerSidebarClass))
+#define PLANNER_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_SIDEBAR,
PlannerSidebar))
+#define PLANNER_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_SIDEBAR,
PlannerSidebarClass))
+#define PLANNER_IS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_SIDEBAR))
+#define PLANNER_IS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_SIDEBAR))
+#define PLANNER_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_SIDEBAR,
PlannerSidebarClass))
typedef struct _PlannerSidebar PlannerSidebar;
typedef struct _PlannerSidebarClass PlannerSidebarClass;
diff --git a/src/planner-task-tree.h b/src/planner-task-tree.h
index cbde395..ee63028 100644
--- a/src/planner-task-tree.h
+++ b/src/planner-task-tree.h
@@ -30,11 +30,11 @@
#include "planner-task-dialog.h"
#define PLANNER_TYPE_TASK_TREE (planner_task_tree_get_type ())
-#define PLANNER_TASK_TREE(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_TASK_TREE, PlannerTaskTree))
-#define PLANNER_TASK_TREE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_TASK_TREE,
PlannerTaskTreeClass))
-#define PLANNER_IS_TASK_TREE(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_TASK_TREE))
-#define PLANNER_IS_TASK_TREE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_TASK_TREE))
-#define PLANNER_TASK_TREE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_TASK_TREE,
PlannerTaskTreeClass))
+#define PLANNER_TASK_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_TASK_TREE,
PlannerTaskTree))
+#define PLANNER_TASK_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_TASK_TREE,
PlannerTaskTreeClass))
+#define PLANNER_IS_TASK_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_TASK_TREE))
+#define PLANNER_IS_TASK_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_TASK_TREE))
+#define PLANNER_TASK_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_TASK_TREE,
PlannerTaskTreeClass))
typedef struct _PlannerTaskTree PlannerTaskTree;
typedef struct _PlannerTaskTreeClass PlannerTaskTreeClass;
diff --git a/src/planner-usage-chart.h b/src/planner-usage-chart.h
index 99ac68d..e53d2f4 100644
--- a/src/planner-usage-chart.h
+++ b/src/planner-usage-chart.h
@@ -28,11 +28,11 @@
#include "planner-usage-tree.h"
#define PLANNER_TYPE_USAGE_CHART (planner_usage_chart_get_type ())
-#define PLANNER_USAGE_CHART(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_USAGE_CHART,
PlannerUsageChart))
-#define PLANNER_USAGE_CHART_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_CHART,
PlannerUsageChartClass))
-#define PLANNER_IS_USAGE_CHART(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_USAGE_CHART))
-#define PLANNER_IS_USAGE_CHART_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_USAGE_CHART))
-#define PLANNER_USAGE_CHART_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_USAGE_CHART,
PlannerUsageChartClass))
+#define PLANNER_USAGE_CHART(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_USAGE_CHART,
PlannerUsageChart))
+#define PLANNER_USAGE_CHART_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_CHART,
PlannerUsageChartClass))
+#define PLANNER_IS_USAGE_CHART(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_USAGE_CHART))
+#define PLANNER_IS_USAGE_CHART_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_USAGE_CHART))
+#define PLANNER_USAGE_CHART_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_USAGE_CHART,
PlannerUsageChartClass))
typedef struct _PlannerUsageChart PlannerUsageChart;
typedef struct _PlannerUsageChartClass PlannerUsageChartClass;
diff --git a/src/planner-usage-model.h b/src/planner-usage-model.h
index 810365b..c563153 100644
--- a/src/planner-usage-model.h
+++ b/src/planner-usage-model.h
@@ -29,10 +29,10 @@
#include <libplanner/mrp-resource.h>
#define PLANNER_TYPE_USAGE_MODEL (planner_usage_model_get_type ())
-#define PLANNER_USAGE_MODEL(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_USAGE_MODEL,
PlannerUsageModel))
-#define PLANNER_USAGE_MODEL_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_MODEL,
PlannerUsageModelClass))
-#define PLANNER_IS_USAGE_MODEL(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_USAGE_MODEL))
-#define PLANNER_IS_USAGE_MODEL_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_USAGE_MODEL))
+#define PLANNER_USAGE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_USAGE_MODEL,
PlannerUsageModel))
+#define PLANNER_USAGE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_MODEL,
PlannerUsageModelClass))
+#define PLANNER_IS_USAGE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_USAGE_MODEL))
+#define PLANNER_IS_USAGE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_USAGE_MODEL))
typedef struct _PlannerUsageModel PlannerUsageModel;
typedef struct _PlannerUsageModelClass PlannerUsageModelClass;
diff --git a/src/planner-usage-row.h b/src/planner-usage-row.h
index 47ed058..2106be8 100644
--- a/src/planner-usage-row.h
+++ b/src/planner-usage-row.h
@@ -26,11 +26,11 @@
#include <libgnomecanvas/gnome-canvas.h>
#define PLANNER_TYPE_USAGE_ROW (planner_usage_row_get_type ())
-#define PLANNER_USAGE_ROW(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_USAGE_ROW, PlannerUsageRow))
-#define PLANNER_USAGE_ROW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_ROW,
PlannerUsageRowClass))
-#define PLANNER_IS_USAGE_ROW(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_USAGE_ROW))
-#define PLANNER_IS_USAGE_ROW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), PLANNER_TYPE_USAGE_ROW))
-#define PLANNER_USAGE_ROW_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_USAGE_ROW,
PlannerUsageRowClass))
+#define PLANNER_USAGE_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_USAGE_ROW,
PlannerUsageRow))
+#define PLANNER_USAGE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_ROW,
PlannerUsageRowClass))
+#define PLANNER_IS_USAGE_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_USAGE_ROW))
+#define PLANNER_IS_USAGE_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLANNER_TYPE_USAGE_ROW))
+#define PLANNER_USAGE_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_USAGE_ROW,
PlannerUsageRowClass))
typedef struct _PlannerUsageRow PlannerUsageRow;
diff --git a/src/planner-usage-tree.h b/src/planner-usage-tree.h
index 6acaa5e..50f8a32 100644
--- a/src/planner-usage-tree.h
+++ b/src/planner-usage-tree.h
@@ -30,11 +30,11 @@
#include "planner-task-dialog.h"
#define PLANNER_TYPE_USAGE_TREE (planner_usage_tree_get_type ())
-#define PLANNER_USAGE_TREE(obj) (GTK_CHECK_CAST ((obj), PLANNER_TYPE_USAGE_TREE,
PlannerUsageTree))
-#define PLANNER_USAGE_TREE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_TREE,
PlannerUsageTreeClass))
-#define PLANNER_IS_USAGE_TREE(obj) (GTK_CHECK_TYPE ((obj), PLANNER_TYPE_USAGE_TREE))
-#define PLANNER_IS_USAGE_TREE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_USAGE_TREE))
-#define PLANNER_USAGE_TREE_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), PLANNER_TYPE_USAGE_TREE,
PlannerUsageTreeClass))
+#define PLANNER_USAGE_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PLANNER_TYPE_USAGE_TREE,
PlannerUsageTree))
+#define PLANNER_USAGE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PLANNER_TYPE_USAGE_TREE,
PlannerUsageTreeClass))
+#define PLANNER_IS_USAGE_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PLANNER_TYPE_USAGE_TREE))
+#define PLANNER_IS_USAGE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), PLANNER_TYPE_USAGE_TREE))
+#define PLANNER_USAGE_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PLANNER_TYPE_USAGE_TREE,
PlannerUsageTreeClass))
typedef struct _PlannerUsageTree PlannerUsageTree;
typedef struct _PlannerUsageTreeClass PlannerUsageTreeClass;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]