[sysprof/wip/chergert/sysprof-3] libsysprof-ui: make function name more descriptive



commit f3580aed716179b8b123a72bb122aee23d71f1b8
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 22 10:27:13 2019 -0700

    libsysprof-ui: make function name more descriptive

 src/libsysprof-ui/sysprof-marks-view.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-marks-view.c b/src/libsysprof-ui/sysprof-marks-view.c
index 2f560d3..f5312c0 100644
--- a/src/libsysprof-ui/sysprof-marks-view.c
+++ b/src/libsysprof-ui/sysprof-marks-view.c
@@ -95,9 +95,9 @@ sysprof_marks_view_tree_view_key_press_event_cb (SysprofMarksView  *self,
 }
 
 static gboolean
-get_selected (GtkTreeSelection  *selection,
-              GtkTreeModel     **model,
-              GtkTreeIter       *iter)
+get_first_selected (GtkTreeSelection  *selection,
+                    GtkTreeModel     **model,
+                    GtkTreeIter       *iter)
 {
   GtkTreeModel *m;
 
@@ -131,7 +131,7 @@ sysprof_marks_view_selection_changed_cb (SysprofMarksView *self,
   g_assert (SYSPROF_IS_MARKS_VIEW (self));
   g_assert (GTK_IS_TREE_SELECTION (selection));
 
-  if (get_selected (selection, &model, &iter))
+  if (get_first_selected (selection, &model, &iter))
     {
       GtkAdjustment *adj;
       gdouble x;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]