diff options
author | Monsta <[email protected]> | 2015-12-12 23:14:17 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-11 14:05:07 +0300 |
commit | cbb995375f1b97679fd42090e31277666249cc84 (patch) | |
tree | 46f1d7dcbbb63837e2ddfe8013bb756d01b72fdb /src/disks.cpp | |
parent | 6a9264b25f20fe81d837217a6d4875d4e594983f (diff) | |
download | mate-system-monitor-cbb995375f1b97679fd42090e31277666249cc84.tar.bz2 mate-system-monitor-cbb995375f1b97679fd42090e31277666249cc84.tar.xz |
drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'src/disks.cpp')
-rw-r--r-- | src/disks.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/disks.cpp b/src/disks.cpp index ee7f4dd..490002c 100644 --- a/src/disks.cpp +++ b/src/disks.cpp @@ -13,10 +13,6 @@ #include "interface.h" #include "iconthemewrapper.h" -#if GTK_CHECK_VERSION (3, 0, 0) -#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) -#endif - enum DiskColumns { /* string columns* */ @@ -309,7 +305,7 @@ create_disk_view(ProcData *procdata) N_("Used") }; - disk_box = gtk_vbox_new(FALSE, 6); + disk_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width(GTK_CONTAINER(disk_box), 12); @@ -338,9 +334,6 @@ create_disk_view(ProcData *procdata) g_signal_connect(G_OBJECT(disk_tree), "row-activated", G_CALLBACK(open_dir), NULL); procdata->disk_list = disk_tree; gtk_container_add(GTK_CONTAINER(scrolled), disk_tree); -#if !GTK_CHECK_VERSION(3,0,0) - gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(disk_tree), TRUE); -#endif g_object_unref(G_OBJECT(model)); /* icon + device */ |