diff options
Diffstat (limited to 'battstat/battstat.h')
-rw-r--r-- | battstat/battstat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/battstat/battstat.h b/battstat/battstat.h index a48dd121..16fb84b0 100644 --- a/battstat/battstat.h +++ b/battstat/battstat.h @@ -114,8 +114,10 @@ typedef struct _ProgressData { /* label changed type (% <-> h:mm) and must be refreshed */ gboolean refresh_label; +#if !GTK_CHECK_VERSION (3, 0, 0) /* so we don't have to alloc/dealloc this every refresh */ GdkGC *pixgc; +#endif /* the main table that contains the visual elements */ GtkWidget *table; |