gnumeric r17145 - trunk/src/widgets



Author: mortenw
Date: Wed Feb 18 17:10:14 2009
New Revision: 17145
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17145&view=rev

Log:
GTK_CHECK_GET_CLASS --> G_TYPE_INSTANCE_GET_CLASS




Modified:
   trunk/src/widgets/gnumeric-cell-renderer-expr-entry.h
   trunk/src/widgets/gnumeric-cell-renderer-text.h
   trunk/src/widgets/gnumeric-cell-renderer-toggle.h

Modified: trunk/src/widgets/gnumeric-cell-renderer-expr-entry.h
==============================================================================
--- trunk/src/widgets/gnumeric-cell-renderer-expr-entry.h	(original)
+++ trunk/src/widgets/gnumeric-cell-renderer-expr-entry.h	Wed Feb 18 17:10:14 2009
@@ -30,7 +30,7 @@
 #define GNUMERIC_CELL_RENDERER_EXPR_ENTRY_CLASS(k)	(G_TYPE_CHECK_CLASS_CAST ((k), GNUMERIC_TYPE_CELL_RENDERER_EXPR_ENTRY, GnumericCellRendererExprEntryClass))
 #define GNUMERIC_IS_CELL_RENDERER_EXPR_ENTRY(o)		(G_TYPE_CHECK_INSTANCE_TYPE ((o), GNUMERIC_TYPE_CELL_RENDERER_EXPR_ENTRY))
 #define GNUMERIC_IS_CELL_RENDERER_EXPR_ENTRY_CLASS(k)	(G_TYPE_CHECK_CLASS_TYPE ((k), GNUMERIC_TYPE_CELL_RENDERER_EXPR_ENTRY))
-#define GNUMERIC_CELL_RENDERER_EXPR_ENTRY_GET_CLASS(o)	(GTK_CHECK_GET_CLASS ((o), GNUMERIC_TYPE_CELL_RENDERER_EXPR_ENTRY, GnumericCellRendererExprEntryClass))
+#define GNUMERIC_CELL_RENDERER_EXPR_ENTRY_GET_CLASS(o)	(G_TYPE_INSTANCE_GET_CLASS ((o), GNUMERIC_TYPE_CELL_RENDERER_EXPR_ENTRY, GnumericCellRendererExprEntryClass))
 
 typedef struct _GnumericCellRendererExprEntry      GnumericCellRendererExprEntry;
 typedef struct _GnumericCellRendererExprEntryClass GnumericCellRendererExprEntryClass;

Modified: trunk/src/widgets/gnumeric-cell-renderer-text.h
==============================================================================
--- trunk/src/widgets/gnumeric-cell-renderer-text.h	(original)
+++ trunk/src/widgets/gnumeric-cell-renderer-text.h	Wed Feb 18 17:10:14 2009
@@ -28,7 +28,7 @@
 #define GNUMERIC_CELL_RENDERER_TEXT_CLASS(k)	 (G_TYPE_CHECK_CLASS_CAST ((k), GNUMERIC_TYPE_CELL_RENDERER_TEXT, GnumericCellRendererTextClass))
 #define GNUMERIC_IS_CELL_RENDERER_TEXT(o)	 (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNUMERIC_TYPE_CELL_RENDERER_TEXT))
 #define GNUMERIC_IS_CELL_RENDERER_TEXT_CLASS(k)	 (G_TYPE_CHECK_CLASS_TYPE ((k), GNUMERIC_TYPE_CELL_RENDERER_TEXT))
-#define GNUMERIC_CELL_RENDERER_TEXT_GET_CLASS(o) (GTK_CHECK_GET_CLASS ((o), GNUMERIC_TYPE_CELL_RENDERER_TEXT, GnumericCellRendererTextClass))
+#define GNUMERIC_CELL_RENDERER_TEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNUMERIC_TYPE_CELL_RENDERER_TEXT, GnumericCellRendererTextClass))
 
 typedef struct _GnumericCellRendererText      GnumericCellRendererText;
 typedef struct _GnumericCellRendererTextClass GnumericCellRendererTextClass;

Modified: trunk/src/widgets/gnumeric-cell-renderer-toggle.h
==============================================================================
--- trunk/src/widgets/gnumeric-cell-renderer-toggle.h	(original)
+++ trunk/src/widgets/gnumeric-cell-renderer-toggle.h	Wed Feb 18 17:10:14 2009
@@ -32,7 +32,7 @@
 #define GNUMERIC_CELL_RENDERER_TOGGLE_CLASS(k)		(G_TYPE_CHECK_CLASS_CAST ((k), GNUMERIC_TYPE_CELL_RENDERER_TOGGLE, GnumericCellRendererToggleClass))
 #define GNUMERIC_IS_CELL_RENDERER_TOGGLE(o)		(G_TYPE_CHECK_INSTANCE_TYPE ((o), GNUMERIC_TYPE_CELL_RENDERER_TOGGLE))
 #define GNUMERIC_IS_CELL_RENDERER_TOGGLE_CLASS(k)	(G_TYPE_CHECK_CLASS_TYPE ((k), GNUMERIC_TYPE_CELL_RENDERER_TOGGLE))
-#define GNUMERIC_CELL_RENDERER_TOGGLE_GET_CLASS(o)i	(GTK_CHECK_GET_CLASS ((o), GNUMERIC_TYPE_CELL_RENDERER_TOGGLE, GnumericCellRendererToggleClass))
+#define GNUMERIC_CELL_RENDERER_TOGGLE_GET_CLASS(o)i	(G_TYPE_INSTANCE_GET_CLASS ((o), GNUMERIC_TYPE_CELL_RENDERER_TOGGLE, GnumericCellRendererToggleClass))
 
 typedef struct _GnumericCellRendererToggle      GnumericCellRendererToggle;
 typedef struct _GnumericCellRendererToggleClass GnumericCellRendererToggleClass;



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