diff options
author | raveit65 <[email protected]> | 2016-08-05 12:51:43 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-08-31 15:29:57 +0200 |
commit | 6f3b04cf976b231d31d6704b0a69a25f10ab7d7d (patch) | |
tree | dd3290fbef1c9d30a26a1418c0e23e078ada8531 /battstat/battstat.h | |
parent | ee51aa3168c69233b78c0cb46414fb7b49fbccb0 (diff) | |
download | mate-applets-6f3b04cf976b231d31d6704b0a69a25f10ab7d7d.tar.bz2 mate-applets-6f3b04cf976b231d31d6704b0a69a25f10ab7d7d.tar.xz |
GTK+-3 battstat: port GtkTable to GtkGrid
Diffstat (limited to 'battstat/battstat.h')
-rw-r--r-- | battstat/battstat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/battstat/battstat.h b/battstat/battstat.h index 378c7135..1f4e800f 100644 --- a/battstat/battstat.h +++ b/battstat/battstat.h @@ -114,8 +114,13 @@ typedef struct _ProgressData { /* label changed type (% <-> h:mm) and must be refreshed */ gboolean refresh_label; +#if GTK_CHECK_VERSION (3, 0, 0) + /* the main grid that contains the visual elements */ + GtkWidget *grid; +#else /* the main table that contains the visual elements */ GtkWidget *table; +#endif /* the visual elements */ GtkWidget *battery; @@ -138,7 +143,11 @@ typedef struct _ProgressData { /* on a vertical or horizontal panel? (up/down/left/right) */ MatePanelAppletOrient orienttype; +#if GTK_CHECK_VERSION (3, 0, 0) + /* the current layout of the visual elements inside the grid */ +#else /* the current layout of the visual elements inside the table */ +#endif LayoutConfiguration layout; /* g_timeout source identifier */ |