gucharmap r1675 - trunk/gucharmap
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gucharmap r1675 - trunk/gucharmap
- Date: Fri, 21 Mar 2008 10:54:34 +0000 (GMT)
Author: chpe
Date: Fri Mar 21 10:54:34 2008
New Revision: 1675
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1675&view=rev
Log:
Add full set of stock gobject type macros.
Modified:
trunk/gucharmap/gucharmap-block-chapters-model.h
trunk/gucharmap/gucharmap-chapters-model.h
trunk/gucharmap/gucharmap-chapters-view.h
trunk/gucharmap/gucharmap-charmap.h
trunk/gucharmap/gucharmap-chartable-accessible.h
trunk/gucharmap/gucharmap-chartable-cell-accessible.h
trunk/gucharmap/gucharmap-chartable.h
trunk/gucharmap/gucharmap-codepoint-list.h
trunk/gucharmap/gucharmap-mini-fontsel.h
trunk/gucharmap/gucharmap-script-chapters-model.h
trunk/gucharmap/gucharmap-script-codepoint-list.h
trunk/gucharmap/gucharmap-search-dialog.h
trunk/gucharmap/gucharmap-window.h
Modified: trunk/gucharmap/gucharmap-block-chapters-model.h
==============================================================================
--- trunk/gucharmap/gucharmap-block-chapters-model.h (original)
+++ trunk/gucharmap/gucharmap-block-chapters-model.h Fri Mar 21 10:54:34 2008
@@ -31,17 +31,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_BLOCK_CHAPTERS_MODEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_block_chapters_model_get_type (), GucharmapBlockChaptersModel))
-
-#define GUCHARMAP_BLOCK_CHAPTERS_MODEL_CLASS(clazz) \
- (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_block_chapters_model_get_type (), GucharmapBlockChaptersModelClass))
-
-#define GUCHARMAP_IS_BLOCK_CHAPTERS_MODEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_block_chapters_model_get_type ()))
-
-#define GUCHARMAP_BLOCK_CHAPTERS_MODEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_block_chapters_model_get_type (), GucharmapBlockChaptersModelClass))
+#define GUCHARMAP_TYPE_BLOCK_CHAPTERS_MODEL (gucharmap_block_chapters_model_get_type ())
+#define GUCHARMAP_BLOCK_CHAPTERS_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_BLOCK_CHAPTERS_MODEL, GucharmapBlockChaptersModel))
+#define GUCHARMAP_BLOCK_CHAPTERS_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_BLOCK_CHAPTERS_MODEL, GucharmapBlockChaptersModelClass))
+#define GUCHARMAP_IS_BLOCK_CHAPTERS_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_BLOCK_CHAPTERS_MODEL))
+#define GUCHARMAP_IS_BLOCK_CHAPTERS_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_BLOCK_CHAPTERS_MODEL))
+#define GUCHARMAP_BLOCK_CHAPTERS_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_BLOCK_CHAPTERS_MODEL, GucharmapBlockChaptersModelClass))
GType gucharmap_block_chapters_model_get_type (void);
GucharmapChaptersModel* gucharmap_block_chapters_model_new (void);
Modified: trunk/gucharmap/gucharmap-chapters-model.h
==============================================================================
--- trunk/gucharmap/gucharmap-chapters-model.h (original)
+++ trunk/gucharmap/gucharmap-chapters-model.h Fri Mar 21 10:54:34 2008
@@ -32,17 +32,12 @@
#define GUCHARMAP_TYPE_CHAPTERS_MODEL (gucharmap_chapters_model_get_type ())
-#define GUCHARMAP_CHAPTERS_MODEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_chapters_model_get_type (), GucharmapChaptersModel))
-
-#define GUCHARMAP_CHAPTERS_MODEL_CLASS(clazz) \
- (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_chapters_model_get_type (), GucharmapChaptersModelClass))
-
-#define GUCHARMAP_IS_CHAPTERS_MODEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_chapters_model_get_type ()))
-
-#define GUCHARMAP_CHAPTERS_MODEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_chapters_model_get_type (), GucharmapChaptersModelClass))
+#define GUCHARMAP_TYPE_CHAPTERS_MODEL (gucharmap_chapters_model_get_type ())
+#define GUCHARMAP_CHAPTERS_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_CHAPTERS_MODEL, GucharmapChaptersModel))
+#define GUCHARMAP_CHAPTERS_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_CHAPTERS_MODEL, GucharmapChaptersModelClass))
+#define GUCHARMAP_IS_CHAPTERS_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_CHAPTERS_MODEL))
+#define GUCHARMAP_IS_CHAPTERS_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CHAPTERS_MODEL))
+#define GUCHARMAP_CHAPTERS_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CHAPTERS_MODEL, GucharmapChaptersModelClass))
typedef enum
{
Modified: trunk/gucharmap/gucharmap-chapters-view.h
==============================================================================
--- trunk/gucharmap/gucharmap-chapters-view.h (original)
+++ trunk/gucharmap/gucharmap-chapters-view.h Fri Mar 21 10:54:34 2008
@@ -31,17 +31,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_CHAPTERS_VIEW(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_chapters_view_get_type (), GucharmapChaptersView))
-
-#define GUCHARMAP_CHAPTERS_VIEW_CLASS(clazz) \
- (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_chapters_view_get_type (), GucharmapChaptersViewClass))
-
-#define GUCHARMAP_IS_CHAPTERS_VIEW(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_chapters_view_get_type ()))
-
-#define GUCHARMAP_CHAPTERS_VIEW_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_chapters_view_get_type (), GucharmapChaptersViewClass))
+#define GUCHARMAP_TYPE_CHAPTERS_VIEW (gucharmap_chapters_view_get_type ())
+#define GUCHARMAP_CHAPTERS_VIEW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_CHAPTERS_VIEW, GucharmapChaptersView))
+#define GUCHARMAP_CHAPTERS_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_CHAPTERS_VIEW, GucharmapChaptersViewClass))
+#define GUCHARMAP_IS_CHAPTERS_VIEW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_CHAPTERS_VIEW))
+#define GUCHARMAP_IS_CHAPTERS_VIEW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CHAPTERS_VIEW))
+#define GUCHARMAP_CHAPTERS_VIEW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CHAPTERS_VIEW, GucharmapChaptersViewClass))
GType gucharmap_chapters_view_get_type (void);
Modified: trunk/gucharmap/gucharmap-charmap.h
==============================================================================
--- trunk/gucharmap/gucharmap-charmap.h (original)
+++ trunk/gucharmap/gucharmap-charmap.h Fri Mar 21 10:54:34 2008
@@ -31,16 +31,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_CHARMAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
- gucharmap_charmap_get_type (), \
- GucharmapCharmap))
-
-#define GUCHARMAP_CHARMAP_CLASS(clazz) (G_TYPE_CHECK_CLASS_CAST ((clazz), \
- gucharmap_charmap_get_type (),\
- GucharmapCharmapClass))
-
-#define GUCHARMAP_IS_CHARMAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
- gucharmap_charmap_get_type ()))
+#define GUCHARMAP_TYPE_CHARMAP (gucharmap_charmap_get_type ())
+#define GUCHARMAP_CHARMAP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_CHARMAP, GucharmapCharmap))
+#define GUCHARMAP_CHARMAP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_CHARMAP, GucharmapCharmapClass))
+#define GUCHARMAP_IS_CHARMAP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_CHARMAP))
+#define GUCHARMAP_IS_CHARMAP_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CHARMAP))
+#define GUCHARMAP_CHARMAP_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CHARMAP, GucharmapCharmapClass))
GType gucharmap_charmap_get_type (void);
Modified: trunk/gucharmap/gucharmap-chartable-accessible.h
==============================================================================
--- trunk/gucharmap/gucharmap-chartable-accessible.h (original)
+++ trunk/gucharmap/gucharmap-chartable-accessible.h Fri Mar 21 10:54:34 2008
@@ -27,11 +27,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_CHARTABLE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_chartable_accessible_get_type (), GucharmapChartableAccessible))
-#define GUCHARMAP_CHARTABLE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), gucharmap_chartable_accessible_get_type (), GucharmapChartableAccessibleClass))
-#define GUCHARMAP_IS_CHARTABLE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_chartable_accessible_get_type ()))
-#define GUCHARMAP_IS_CHARTABLE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), gucharmap_chartable_accessible_get_type ()))
-#define GUCHARMAP_CHARTABLE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_chartable_accessible_get_type (), GucharmapChartableAccessibleClass))
+#define GUCHARMAP_TYPE_CHARTABLE_ACCESSIBLE (gucharmap_chartable_accessible_get_type ())
+#define GUCHARMAP_CHARTABLE_ACCESSIBLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_CHARTABLE_ACCESSIBLE, GucharmapChartableAccessible))
+#define GUCHARMAP_CHARTABLE_ACCESSIBLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_CHARTABLE_ACCESSIBLE, GucharmapChartableAccessibleClass))
+#define GUCHARMAP_IS_CHARTABLE_ACCESSIBLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_CHARTABLE_ACCESSIBLE))
+#define GUCHARMAP_IS_CHARTABLE_ACCESSIBLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CHARTABLE_ACCESSIBLE))
+#define GUCHARMAP_CHARTABLE_ACCESSIBLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CHARTABLE_ACCESSIBLE, GucharmapChartableAccessibleClass))
typedef struct _GucharmapChartableAccessible GucharmapChartableAccessible;
typedef struct _GucharmapChartableAccessibleClass GucharmapChartableAccessibleClass;
Modified: trunk/gucharmap/gucharmap-chartable-cell-accessible.h
==============================================================================
--- trunk/gucharmap/gucharmap-chartable-cell-accessible.h (original)
+++ trunk/gucharmap/gucharmap-chartable-cell-accessible.h Fri Mar 21 10:54:34 2008
@@ -25,11 +25,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_CHARTABLE_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_chartable_cell_accessible_get_type (), GucharmapChartableCellAccessible))
-#define GUCHARMAP_CHARTABLE_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), gucharmap_chartable_cell_accessible_get_type (), GucharmapChartableCellAccessibleClass))
-#define GUCHARMAP_IS_CHARTABLE_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_chartable_cell_accessible_get_type ()))
-#define GUCHARMAP_IS_CHARTABLE_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), gucharmap_chartable_cell_accessible_get_type ()))
-#define GUCHARMAP_CHARTABLE_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_chartable_cell_accessible_get_type, GucharmapChartableCellAccessibleClass))
+#define GUCHARMAP_TYPE_CHARTABLE_CELL_ACCESSIBLE (gucharmap_chartable_cell_accessible_get_type ())
+#define GUCHARMAP_CHARTABLE_CELL_ACCESSIBLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_CHARTABLE_CELL_ACCESSIBLE, GucharmapChartableCellAccessible))
+#define GUCHARMAP_CHARTABLE_CELL_ACCESSIBLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_CHARTABLE_CELL_ACCESSIBLE, GucharmapChartableCellAccessibleClass))
+#define GUCHARMAP_IS_CHARTABLE_CELL_ACCESSIBLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_CHARTABLE_CELL_ACCESSIBLE))
+#define GUCHARMAP_IS_CHARTABLE_CELL_ACCESSIBLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CHARTABLE_CELL_ACCESSIBLE))
+#define GUCHARMAP_CHARTABLE_CELL_ACCESSIBLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CHARTABLE_CELL_ACCESSIBLE, GucharmapChartableCellAccessibleClass))
typedef struct _GucharmapChartableCellAccessible GucharmapChartableCellAccessible;
typedef struct _GucharmapChartableCellAccessibleClass GucharmapChartableCellAccessibleClass;
Modified: trunk/gucharmap/gucharmap-chartable.h
==============================================================================
--- trunk/gucharmap/gucharmap-chartable.h (original)
+++ trunk/gucharmap/gucharmap-chartable.h Fri Mar 21 10:54:34 2008
@@ -30,14 +30,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_TYPE_CHARTABLE (gucharmap_chartable_get_type ())
-
-#define GUCHARMAP_CHARTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
- gucharmap_chartable_get_type (), GucharmapChartable))
-
-#define GUCHARMAP_CHARTABLE_CLASS(clazz) (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_chartable_get_type (), GucharmapChartableClass))
-
-#define GUCHARMAP_IS_CHARTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_chartable_get_type ()))
+#define GUCHARMAP_TYPE_CHARTABLE (gucharmap_chartable_get_type ())
+#define GUCHARMAP_CHARTABLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_CHARTABLE, GucharmapChartable))
+#define GUCHARMAP_CHARTABLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_CHARTABLE, GucharmapChartableClass))
+#define GUCHARMAP_IS_CHARTABLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_CHARTABLE))
+#define GUCHARMAP_IS_CHARTABLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CHARTABLE))
+#define GUCHARMAP_CHARTABLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CHARTABLE, GucharmapChartableClass))
GType gucharmap_chartable_get_type (void);
GtkWidget * gucharmap_chartable_new (void);
Modified: trunk/gucharmap/gucharmap-codepoint-list.h
==============================================================================
--- trunk/gucharmap/gucharmap-codepoint-list.h (original)
+++ trunk/gucharmap/gucharmap-codepoint-list.h Fri Mar 21 10:54:34 2008
@@ -28,17 +28,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_CODEPOINT_LIST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_codepoint_list_get_type (), GucharmapCodepointList))
-
-#define GUCHARMAP_CODEPOINT_LIST_CLASS(clazz) \
- (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_codepoint_list_get_type (), GucharmapCodepointListClass))
-
-#define GUCHARMAP_IS_CODEPOINT_LIST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_codepoint_list_get_type ()))
-
-#define GUCHARMAP_CODEPOINT_LIST_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_codepoint_list_get_type (), GucharmapCodepointListClass))
+#define GUCHARMAP_TYPE_CODEPOINT_LIST (gucharmap_codepoint_list_get_type ())
+#define GUCHARMAP_CODEPOINT_LIST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_CODEPOINT_LIST, GucharmapCodepointList))
+#define GUCHARMAP_CODEPOINT_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_CODEPOINT_LIST, GucharmapCodepointListClass))
+#define GUCHARMAP_IS_CODEPOINT_LIST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_CODEPOINT_LIST))
+#define GUCHARMAP_IS_CODEPOINT_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CODEPOINT_LIST))
+#define GUCHARMAP_CODEPOINT_LIST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CODEPOINT_LIST, GucharmapCodepointListClass))
GType gucharmap_codepoint_list_get_type (void);
GucharmapCodepointList * gucharmap_codepoint_list_new (gunichar start,
Modified: trunk/gucharmap/gucharmap-mini-fontsel.h
==============================================================================
--- trunk/gucharmap/gucharmap-mini-fontsel.h (original)
+++ trunk/gucharmap/gucharmap-mini-fontsel.h Fri Mar 21 10:54:34 2008
@@ -23,16 +23,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_MINI_FONT_SELECTION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_mini_font_selection_get_type (), \
- GucharmapMiniFontSelection))
-
-#define GUCHARMAP_MINI_FONT_SELECTION_CLASS(clazz) \
- (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_mini_font_selection_get_type (), \
- GucharmapMiniFontSelectionClass))
-
-#define GUCHARMAP_IS_MINI_FONT_SELECTION(obj) \
- G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_mini_font_selection_get_type ())
+#define GUCHARMAP_TYPE_MINI_FONT_SELECTION (gucharmap_mini_font_selection_get_type ())
+#define GUCHARMAP_MINI_FONT_SELECTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_MINI_FONT_SELECTION, GucharmapMiniFontSelection))
+#define GUCHARMAP_MINI_FONT_SELECTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_MINI_FONT_SELECTION, GucharmapMiniFontSelectionClass))
+#define GUCHARMAP_IS_MINI_FONT_SELECTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_MINI_FONT_SELECTION))
+#define GUCHARMAP_IS_MINI_FONT_SELECTION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_MINI_FONT_SELECTION))
+#define GUCHARMAP_MINI_FONT_SELECTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_MINI_FONT_SELECTION, GucharmapMiniFontSelectionClass))
typedef struct _GucharmapMiniFontSelection GucharmapMiniFontSelection;
typedef struct _GucharmapMiniFontSelectionClass GucharmapMiniFontSelectionClass;
Modified: trunk/gucharmap/gucharmap-script-chapters-model.h
==============================================================================
--- trunk/gucharmap/gucharmap-script-chapters-model.h (original)
+++ trunk/gucharmap/gucharmap-script-chapters-model.h Fri Mar 21 10:54:34 2008
@@ -29,17 +29,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_SCRIPT_CHAPTERS_MODEL(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_script_chapters_model_get_type (), GucharmapScriptChaptersModel))
-
-#define GUCHARMAP_SCRIPT_CHAPTERS_MODEL_CLASS(clazz) \
- (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_script_chapters_model_get_type (), GucharmapScriptChaptersModelClass))
-
-#define GUCHARMAP_IS_SCRIPT_CHAPTERS_MODEL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_script_chapters_model_get_type ()))
-
-#define GUCHARMAP_SCRIPT_CHAPTERS_MODEL_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_script_chapters_model_get_type (), GucharmapScriptChaptersModelClass))
+#define GUCHARMAP_TYPE_SCRIPT_CHAPTERS_MODEL (gucharmap_script_chapters_model_get_type ())
+#define GUCHARMAP_SCRIPT_CHAPTERS_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_SCRIPT_CHAPTERS_MODEL, GucharmapScriptChaptersModel))
+#define GUCHARMAP_SCRIPT_CHAPTERS_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_SCRIPT_CHAPTERS_MODEL, GucharmapScriptChaptersModelClass))
+#define GUCHARMAP_IS_SCRIPT_CHAPTERS_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_SCRIPT_CHAPTERS_MODEL))
+#define GUCHARMAP_IS_SCRIPT_CHAPTERS_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_SCRIPT_CHAPTERS_MODEL))
+#define GUCHARMAP_SCRIPT_CHAPTERS_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_SCRIPT_CHAPTERS_MODEL, GucharmapScriptChaptersModelClass))
GType gucharmap_script_chapters_model_get_type (void);
GucharmapChaptersModel* gucharmap_script_chapters_model_new (void);
Modified: trunk/gucharmap/gucharmap-script-codepoint-list.h
==============================================================================
--- trunk/gucharmap/gucharmap-script-codepoint-list.h (original)
+++ trunk/gucharmap/gucharmap-script-codepoint-list.h Fri Mar 21 10:54:34 2008
@@ -31,17 +31,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_SCRIPT_CODEPOINT_LIST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_script_codepoint_list_get_type (), GucharmapScriptCodepointList))
-
-#define GUCHARMAP_SCRIPT_CODEPOINT_LIST_CLASS(clazz) \
- (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_script_codepoint_list_get_type (), GucharmapScriptCodepointListClass))
-
-#define GUCHARMAP_IS_SCRIPT_CODEPOINT_LIST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_script_codepoint_list_get_type ()))
-
-#define GUCHARMAP_SCRIPT_CODEPOINT_LIST_GET_CLASS(obj) \
- (G_TYPE_INSTANCE_GET_CLASS ((obj), gucharmap_script_codepoint_list_get_type (), GucharmapScriptCodepointListClass))
+#define GUCHARMAP_TYPE_SCRIPT_CODEPOINT_LIST (gucharmap_script_codepoint_list_get_type ())
+#define GUCHARMAP_SCRIPT_CODEPOINT_LIST(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_SCRIPT_CODEPOINT_LIST, GucharmapScriptCodepointList))
+#define GUCHARMAP_SCRIPT_CODEPOINT_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_SCRIPT_CODEPOINT_LIST, GucharmapScriptCodepointListClass))
+#define GUCHARMAP_IS_SCRIPT_CODEPOINT_LIST(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_SCRIPT_CODEPOINT_LIST))
+#define GUCHARMAP_IS_SCRIPT_CODEPOINT_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_SCRIPT_CODEPOINT_LIST))
+#define GUCHARMAP_SCRIPT_CODEPOINT_LIST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_SCRIPT_CODEPOINT_LIST, GucharmapScriptCodepointListClass))
GType gucharmap_script_codepoint_list_get_type (void);
GucharmapCodepointList * gucharmap_script_codepoint_list_new (void);
Modified: trunk/gucharmap/gucharmap-search-dialog.h
==============================================================================
--- trunk/gucharmap/gucharmap-search-dialog.h (original)
+++ trunk/gucharmap/gucharmap-search-dialog.h Fri Mar 21 10:54:34 2008
@@ -27,7 +27,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_search_dialog_get_type (), GucharmapSearchDialog))
+#define GUCHARMAP_TYPE_SEARCH_DIALOG (gucharmap_search_dialog_get_type ())
+#define GUCHARMAP_SEARCH_DIALOG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_SEARCH_DIALOG, GucharmapSearchDialog))
+#define GUCHARMAP_SEARCH_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_SEARCH_DIALOG, GucharmapSearchDialogClass))
+#define GUCHARMAP_IS_SEARCH_DIALOG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_SEARCH_DIALOG))
+#define GUCHARMAP_IS_SEARCH_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_SEARCH_DIALOG))
+#define GUCHARMAP_SEARCH_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_SEARCH_DIALOG, GucharmapSearchDialogClass))
typedef struct _GucharmapSearchDialog GucharmapSearchDialog;
typedef struct _GucharmapSearchDialogClass GucharmapSearchDialogClass;
Modified: trunk/gucharmap/gucharmap-window.h
==============================================================================
--- trunk/gucharmap/gucharmap-window.h (original)
+++ trunk/gucharmap/gucharmap-window.h Fri Mar 21 10:54:34 2008
@@ -25,11 +25,12 @@
G_BEGIN_DECLS
-#define GUCHARMAP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gucharmap_window_get_type (), GucharmapWindow))
-
-#define GUCHARMAP_WINDOW_CLASS(clazz) (G_TYPE_CHECK_CLASS_CAST ((clazz), gucharmap_window_get_type (), GucharmapWindowClass))
-
-#define GUCHARMAP_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), gucharmap_window_get_type ()))
+#define GUCHARMAP_TYPE_WINDOW (gucharmap_window_get_type ())
+#define GUCHARMAP_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GUCHARMAP_TYPE_WINDOW, GucharmapWindow))
+#define GUCHARMAP_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GUCHARMAP_TYPE_WINDOW, GucharmapWindowClass))
+#define GUCHARMAP_IS_WINDOW(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GUCHARMAP_TYPE_WINDOW))
+#define GUCHARMAP_IS_WINDOW_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_WINDOW))
+#define GUCHARMAP_WINDOW_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_WINDOW, GucharmapWindowClass))
typedef struct _GucharmapWindow GucharmapWindow;
typedef struct _GucharmapWindowClass GucharmapWindowClass;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]