mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
libsysprof-ui: make function name more descriptive
This commit is contained in:
@ -95,9 +95,9 @@ sysprof_marks_view_tree_view_key_press_event_cb (SysprofMarksView *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
get_selected (GtkTreeSelection *selection,
|
get_first_selected (GtkTreeSelection *selection,
|
||||||
GtkTreeModel **model,
|
GtkTreeModel **model,
|
||||||
GtkTreeIter *iter)
|
GtkTreeIter *iter)
|
||||||
{
|
{
|
||||||
GtkTreeModel *m;
|
GtkTreeModel *m;
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ sysprof_marks_view_selection_changed_cb (SysprofMarksView *self,
|
|||||||
g_assert (SYSPROF_IS_MARKS_VIEW (self));
|
g_assert (SYSPROF_IS_MARKS_VIEW (self));
|
||||||
g_assert (GTK_IS_TREE_SELECTION (selection));
|
g_assert (GTK_IS_TREE_SELECTION (selection));
|
||||||
|
|
||||||
if (get_selected (selection, &model, &iter))
|
if (get_first_selected (selection, &model, &iter))
|
||||||
{
|
{
|
||||||
GtkAdjustment *adj;
|
GtkAdjustment *adj;
|
||||||
gdouble x;
|
gdouble x;
|
||||||
|
|||||||
Reference in New Issue
Block a user