diff options
Diffstat (limited to 'widgets/misc/e-task-bar.c')
-rw-r--r-- | widgets/misc/e-task-bar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/misc/e-task-bar.c b/widgets/misc/e-task-bar.c index e0bdc762a3..e7fc15fe00 100644 --- a/widgets/misc/e-task-bar.c +++ b/widgets/misc/e-task-bar.c @@ -300,3 +300,8 @@ e_task_bar_get_task_widget (ETaskBar *task_bar, return E_TASK_WIDGET (child_info->widget); } +gint +e_task_bar_get_num_children (ETaskBar *task_bar) +{ + return g_list_length (GTK_BOX (task_bar->priv->hbox)->children); +} |