summaryrefslogtreecommitdiff
path: root/drivemount/drive-list.h
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-12-19 16:15:42 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-19 16:15:42 +0100
commit11c296282054815bac8fc08520a8971e36b51190 (patch)
tree345253cf37cb4285d794b2a80c1912dc91bb8423 /drivemount/drive-list.h
parent050f41189d3e6d45a209c685f20af0c189b986b6 (diff)
downloadmate-applets-11c296282054815bac8fc08520a8971e36b51190.tar.bz2
mate-applets-11c296282054815bac8fc08520a8971e36b51190.tar.xz
GTK3 drivemount: port GtkTable to GtkGrid
taken from: https://git.gnome.org/browse/gnome-applets/commit/?id=41c210b
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);