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/procproperties.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/procproperties.cpp')
-rw-r--r-- | src/procproperties.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/procproperties.cpp b/src/procproperties.cpp index d2f8b55..3d24ab3 100644 --- a/src/procproperties.cpp +++ b/src/procproperties.cpp @@ -31,11 +31,6 @@ #include "util.h" #include "e_date.h" -#if GTK_CHECK_VERSION (3, 0, 0) -#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) -#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) -#endif - enum { COL_PROP = 0, @@ -190,9 +185,6 @@ create_procproperties_tree (ProcData *procdata) ); tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model)); -#if !GTK_CHECK_VERSION(3,0,0) - gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree), TRUE); -#endif g_object_unref (G_OBJECT (model)); for (i = 0; i < NUM_COLS; i++) { @@ -257,11 +249,11 @@ create_single_procproperties_dialog (GtkTreeModel *model, GtkTreePath *path, gtk_box_set_spacing (GTK_BOX (vbox), 2); gtk_container_set_border_width (GTK_CONTAINER (vbox), 5); - dialog_vbox = gtk_vbox_new (FALSE, 6); + dialog_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6); gtk_container_set_border_width (GTK_CONTAINER (dialog_vbox), 5); gtk_box_pack_start (GTK_BOX (vbox), dialog_vbox, TRUE, TRUE, 0); - cmd_hbox = gtk_hbox_new (FALSE, 12); + cmd_hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); gtk_box_pack_start (GTK_BOX (dialog_vbox), cmd_hbox, FALSE, FALSE, 0); label = procman_make_label_for_mmaps_or_ofiles ( |