mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: remove selections from mark chart
This doesn't benefit from a selection currently.
This commit is contained in:
@ -68,7 +68,7 @@ sysprof_mark_chart_disconnect (SysprofMarkChart *self)
|
||||
static void
|
||||
sysprof_mark_chart_connect (SysprofMarkChart *self)
|
||||
{
|
||||
g_autoptr(GtkSingleSelection) single = NULL;
|
||||
g_autoptr(GtkNoSelection) no = NULL;
|
||||
GtkFlattenListModel *flatten;
|
||||
SysprofDocument *document;
|
||||
GtkMapListModel *map;
|
||||
@ -82,9 +82,9 @@ sysprof_mark_chart_connect (SysprofMarkChart *self)
|
||||
map_func,
|
||||
g_object_ref (self->session),
|
||||
g_object_unref);
|
||||
single = gtk_single_selection_new (G_LIST_MODEL (map));
|
||||
no = gtk_no_selection_new (G_LIST_MODEL (map));
|
||||
|
||||
gtk_list_view_set_model (self->list_view, GTK_SELECTION_MODEL (single));
|
||||
gtk_list_view_set_model (self->list_view, GTK_SELECTION_MODEL (no));
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user