summaryrefslogtreecommitdiff
path: root/src/procproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/procproperties.cpp')
-rw-r--r--src/procproperties.cpp12
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 (