diff options
author | Philip Chimento <philip@endlessm.com> | 2013-12-03 16:30:14 -0800 |
---|---|---|
committer | Philip Chimento <philip@endlessm.com> | 2013-12-03 16:30:14 -0800 |
commit | 45eeae314d6d20df7629f85eda49a89c122d9112 (patch) | |
tree | 30f6fd04009b4d8c2530106666cbf35dce76ad7c /endless/eosflexygridcell.c | |
parent | 880f05d9261d4aa2184230e3c4feb877495de7a0 (diff) |
Remove {GTK,GLIB}_CHECK_VERSION
This removes all conditionally compiled parts for GTK < 3.10 and
GLib < 2.38.
[endlessm/eos-sdk#420]
Diffstat (limited to 'endless/eosflexygridcell.c')
-rw-r--r-- | endless/eosflexygridcell.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/endless/eosflexygridcell.c b/endless/eosflexygridcell.c index 4091f06..726c7f1 100644 --- a/endless/eosflexygridcell.c +++ b/endless/eosflexygridcell.c @@ -21,22 +21,11 @@ typedef struct { guint selected : 1; } EosFlexyGridCellPrivate; -#if GLIB_CHECK_VERSION (2, 37, 5) - -# define EOS_FLEXY_GRID_CELL_GET_PRIV(obj) \ +#define EOS_FLEXY_GRID_CELL_GET_PRIV(obj) \ ((EosFlexyGridCellPrivate *) eos_flexy_grid_cell_get_instance_private ((EosFlexyGridCell *) (obj))) G_DEFINE_TYPE_WITH_PRIVATE (EosFlexyGridCell, eos_flexy_grid_cell, GTK_TYPE_BIN) -#else - -# define EOS_FLEXY_GRID_CELL_GET_PRIV(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EOS_TYPE_FLEXY_GRID_CELL, EosFlexyGridCellPrivate)) - -G_DEFINE_TYPE (EosFlexyGridCell, eos_flexy_grid_cell, GTK_TYPE_BIN) - -#endif /* GLIB_CHECK_VERSION (2, 37, 5) */ - enum { PROP_0, @@ -90,10 +79,6 @@ eos_flexy_grid_cell_get_property (GObject *gobject, static void eos_flexy_grid_cell_class_init (EosFlexyGridCellClass *klass) { -#if !GLIB_CHECK_VERSION (2, 37, 6) - g_type_class_add_private (klass, sizeof (EosFlexyGridCellPrivate)); -#endif - GObjectClass *gobject_class = G_OBJECT_CLASS (klass); gobject_class->set_property = eos_flexy_grid_cell_set_property; gobject_class->get_property = eos_flexy_grid_cell_get_property; |