#include <config.h>
#endif
+#include <gtk/gtk.h>
+
#include "grid.h"
static void gdaex_grid_class_init (GdaExGridClass *klass);
GValue *value,
GParamSpec *pspec);
-#define GDAEX_GRID_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TYPE_GDAEX_GRID, GdaExGridPrivate))
+#define GDAEX_GRID_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GDAEX_TYPE_GRID, GdaExGridPrivate))
typedef struct
{
typedef struct _GdaExGridPrivate GdaExGridPrivate;
struct _GdaExGridPrivate
{
- GPtrArray *colums; /* _Column */
+ GPtrArray *columns; /* _Column */
};
G_DEFINE_TYPE (GdaExGrid, gdaex_grid, G_TYPE_OBJECT)
priv = GDAEX_GRID_GET_PRIVATE (grid);
- g_ptr_array_add (priv->columns, g_memdup (column, sizeof (GdaExGridColumn)))
+ g_ptr_array_add (priv->columns, g_memdup (column, sizeof (GdaExGridColumn)));
}
void
GSList *first;
g_return_if_fail (GDAEX_IS_GRID (grid));
- g_return_if_fail (G_IS_SLIST (columns));
first = columns;
while (first != NULL)
GValue *value,
GParamSpec *pspec);
-#define GDAEX_GRID_COLUMN_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TYPE_GDAEX_GRID_COLUMN, GdaExGridColumnPrivate))
+#define GDAEX_GRID_COLUMN_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GDAEX_TYPE_GRID_COLUMN, GdaExGridColumnPrivate))
typedef struct _GdaExGridColumnPrivate GdaExGridColumnPrivate;
struct _GdaExGridColumnPrivate