mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user