summaryrefslogtreecommitdiff
path: root/drivemount/drive-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivemount/drive-list.h')
-rw-r--r--drivemount/drive-list.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivemount/drive-list.h b/drivemount/drive-list.h
index 9028d39e..76693ca7 100644
--- a/drivemount/drive-list.h
+++ b/drivemount/drive-list.h
@@ -39,7 +39,11 @@ typedef struct _DriveListClass DriveListClass;
struct _DriveList
{
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GtkGrid parent;
+#else
GtkTable parent;
+#endif
GHashTable *volumes;
GHashTable *mounts;
@@ -52,7 +56,11 @@ struct _DriveList
struct _DriveListClass
{
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GtkGridClass parent_class;
+#else
GtkTableClass parent_class;
+#endif
};
GType drive_list_get_type (void);