aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/stats_tree_stat.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-09-25 21:19:45 +0000
committerJörg Mayer <jmayer@loplof.de>2011-09-25 21:19:45 +0000
commit420acb2fba82e515b54f0e2da4a4aa8054e7e705 (patch)
tree5ba23b8070f84746cfba469999a1d86e47adea7e /gtk/stats_tree_stat.c
parentc3d02e4b57659e16beb9230257fc159c8bc5efbe (diff)
We now always build with MAIN_MENU_USE_UIMANAGER, so remove all code using
the old ways except the proto_help.c file, which is kept for now in case someone is willing to reimplement the help menus using non-deprecated methods. svn path=/trunk/; revision=39137
Diffstat (limited to 'gtk/stats_tree_stat.c')
-rw-r--r--gtk/stats_tree_stat.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk/stats_tree_stat.c b/gtk/stats_tree_stat.c
index 38219da836..6ae858f408 100644
--- a/gtk/stats_tree_stat.c
+++ b/gtk/stats_tree_stat.c
@@ -351,11 +351,6 @@ register_gtk_stats_tree_tap (gpointer k _U_, gpointer v, gpointer p _U_)
cfg->pr->stat_dlg->index = -1;
cfg->pr->stat_dlg->nparams = G_N_ELEMENTS(tree_stat_params);
cfg->pr->stat_dlg->params = tree_stat_params;
-
-#ifdef MAIN_MENU_USE_UIMANAGER
-#else
- register_dfilter_stat(cfg->pr->stat_dlg, cfg->name, cfg->stat_group);
-#endif
}
static void
@@ -380,7 +375,6 @@ register_tap_listener_stats_tree_stat(void)
NULL);
}
-#ifdef MAIN_MENU_USE_UIMANAGER
void gtk_stats_tree_cb(GtkAction *action, gpointer user_data _U_)
{
const gchar *action_name;
@@ -405,4 +399,4 @@ void gtk_stats_tree_cb(GtkAction *action, gpointer user_data _U_)
}
}
-#endif
+