selection: rename SpVisualizerSelection to SpSelection

We want this in sysprof.h (without UI components) so that we
can use it to filter things in profilers. Therefore, we don't
need to make it namespaced to "visualizers" since a time range
selection is a fairly straightforward, and non-UI confined
implementation.
This commit is contained in:
Christian Hergert
2016-10-10 16:24:22 -07:00
parent c12c8bc345
commit 20f9f47966
10 changed files with 140 additions and 141 deletions

View File

@ -238,7 +238,7 @@ static void
sp_window_build_profile (SpWindow *self)
{
g_autoptr(SpProfile) profile = NULL;
SpVisualizerSelection *selection;
SpSelection *selection;
g_assert (SP_IS_WINDOW (self));
g_assert (self->reader != NULL);
@ -737,10 +737,10 @@ zoom_level_to_string (GBinding *binding,
static void
sp_window_visualizers_selection_changed (SpWindow *self,
SpVisualizerSelection *selection)
SpSelection *selection)
{
g_assert (SP_IS_WINDOW (self));
g_assert (SP_IS_VISUALIZER_SELECTION (selection));
g_assert (SP_IS_SELECTION (selection));
sp_window_build_profile (self);
}
@ -836,7 +836,7 @@ sp_window_init (SpWindow *self)
{ "save-capture", sp_window_save_capture },
{ "screenshot", sp_window_screenshot },
};
SpVisualizerSelection *selection;
SpSelection *selection;
gtk_widget_init_template (GTK_WIDGET (self));