diff options
Diffstat (limited to 'applets/clock/clock-location-tile.h')
-rw-r--r-- | applets/clock/clock-location-tile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/applets/clock/clock-location-tile.h b/applets/clock/clock-location-tile.h index 00ccb5a8..28dea2bf 100644 --- a/applets/clock/clock-location-tile.h +++ b/applets/clock/clock-location-tile.h @@ -21,12 +21,20 @@ extern "C" { typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBin parent; +#else GtkAlignment parent; +#endif } ClockLocationTile; typedef struct { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBinClass parent_class; +#else GtkAlignmentClass parent_class; +#endif void (* tile_pressed) (ClockLocationTile *tile); int (* need_clock_format) (ClockLocationTile *tile); |