diff --git a/src/libsysprof-ui/sysprof-callgraph-view.h b/src/libsysprof-ui/sysprof-callgraph-view.h index 06117e11..6cd68c5f 100644 --- a/src/libsysprof-ui/sysprof-callgraph-view.h +++ b/src/libsysprof-ui/sysprof-callgraph-view.h @@ -44,15 +44,15 @@ struct _SysprofCallgraphViewClass }; SYSPROF_AVAILABLE_IN_ALL -GtkWidget *sysprof_callgraph_view_new (void); +GtkWidget *sysprof_callgraph_view_new (void); SYSPROF_AVAILABLE_IN_ALL SysprofCallgraphProfile *sysprof_callgraph_view_get_profile (SysprofCallgraphView *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_callgraph_view_set_profile (SysprofCallgraphView *self, - SysprofCallgraphProfile *profile); +void sysprof_callgraph_view_set_profile (SysprofCallgraphView *self, + SysprofCallgraphProfile *profile); SYSPROF_AVAILABLE_IN_ALL -gchar *sysprof_callgraph_view_screenshot (SysprofCallgraphView *self); +gchar *sysprof_callgraph_view_screenshot (SysprofCallgraphView *self); SYSPROF_AVAILABLE_IN_ALL -guint sysprof_callgraph_view_get_n_functions (SysprofCallgraphView *self); +guint sysprof_callgraph_view_get_n_functions (SysprofCallgraphView *self); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-cell-renderer-percent.h b/src/libsysprof-ui/sysprof-cell-renderer-percent.h index f6b26f0b..38bd0954 100644 --- a/src/libsysprof-ui/sysprof-cell-renderer-percent.h +++ b/src/libsysprof-ui/sysprof-cell-renderer-percent.h @@ -61,6 +61,6 @@ SYSPROF_AVAILABLE_IN_ALL gdouble sysprof_cell_renderer_percent_get_percent (SysprofCellRendererPercent *self); SYSPROF_AVAILABLE_IN_ALL void sysprof_cell_renderer_percent_set_percent (SysprofCellRendererPercent *self, - gdouble percent); + gdouble percent); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-color-cycle.h b/src/libsysprof-ui/sysprof-color-cycle.h index 1f08dbd8..b512eeda 100644 --- a/src/libsysprof-ui/sysprof-color-cycle.h +++ b/src/libsysprof-ui/sysprof-color-cycle.h @@ -35,17 +35,17 @@ G_BEGIN_DECLS typedef struct _SysprofColorCycle SysprofColorCycle; SYSPROF_AVAILABLE_IN_ALL -GType sysprof_color_cycle_get_type (void); +GType sysprof_color_cycle_get_type (void); SYSPROF_AVAILABLE_IN_ALL SysprofColorCycle *sysprof_color_cycle_ref (SysprofColorCycle *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_color_cycle_unref (SysprofColorCycle *self); +void sysprof_color_cycle_unref (SysprofColorCycle *self); SYSPROF_AVAILABLE_IN_ALL SysprofColorCycle *sysprof_color_cycle_new (void); SYSPROF_AVAILABLE_IN_ALL -void sysprof_color_cycle_reset (SysprofColorCycle *self); +void sysprof_color_cycle_reset (SysprofColorCycle *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_color_cycle_next (SysprofColorCycle *self, - GdkRGBA *rgba); +void sysprof_color_cycle_next (SysprofColorCycle *self, + GdkRGBA *rgba); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-empty-state-view.h b/src/libsysprof-ui/sysprof-empty-state-view.h index 730ee7d2..9e7aa72c 100644 --- a/src/libsysprof-ui/sysprof-empty-state-view.h +++ b/src/libsysprof-ui/sysprof-empty-state-view.h @@ -25,8 +25,7 @@ #endif #include - -#include "sysprof-version-macros.h" +#include G_BEGIN_DECLS diff --git a/src/libsysprof-ui/sysprof-failed-state-view.h b/src/libsysprof-ui/sysprof-failed-state-view.h index 29267ecb..ad14efcf 100644 --- a/src/libsysprof-ui/sysprof-failed-state-view.h +++ b/src/libsysprof-ui/sysprof-failed-state-view.h @@ -45,6 +45,6 @@ SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_failed_state_view_new (void); SYSPROF_AVAILABLE_IN_ALL void sysprof_failed_state_view_set_profiler (SysprofFailedStateView *self, - SysprofProfiler *profiler); + SysprofProfiler *profiler); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-line-visualizer-row.h b/src/libsysprof-ui/sysprof-line-visualizer-row.h index cbe16930..5d578d94 100644 --- a/src/libsysprof-ui/sysprof-line-visualizer-row.h +++ b/src/libsysprof-ui/sysprof-line-visualizer-row.h @@ -24,8 +24,9 @@ # error "Only can be included directly." #endif +#include + #include "sysprof-visualizer-row.h" -#include "sysprof-version-macros.h" G_BEGIN_DECLS @@ -51,15 +52,15 @@ SYSPROF_AVAILABLE_IN_ALL void sysprof_line_visualizer_row_clear (SysprofLineVisualizerRow *self); SYSPROF_AVAILABLE_IN_ALL void sysprof_line_visualizer_row_add_counter (SysprofLineVisualizerRow *self, - guint counter_id, - const GdkRGBA *color); + guint counter_id, + const GdkRGBA *color); SYSPROF_AVAILABLE_IN_ALL void sysprof_line_visualizer_row_set_line_width (SysprofLineVisualizerRow *self, - guint counter_id, - gdouble width); + guint counter_id, + gdouble width); SYSPROF_AVAILABLE_IN_ALL void sysprof_line_visualizer_row_set_fill (SysprofLineVisualizerRow *self, - guint counter_id, - const GdkRGBA *color); + guint counter_id, + const GdkRGBA *color); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-mark-visualizer-row.h b/src/libsysprof-ui/sysprof-mark-visualizer-row.h index beda5d52..f560e63a 100644 --- a/src/libsysprof-ui/sysprof-mark-visualizer-row.h +++ b/src/libsysprof-ui/sysprof-mark-visualizer-row.h @@ -48,6 +48,6 @@ SYSPROF_AVAILABLE_IN_ALL const gchar *sysprof_mark_visualizer_row_get_group (SysprofMarkVisualizerRow *self); SYSPROF_AVAILABLE_IN_ALL void sysprof_mark_visualizer_row_set_group (SysprofMarkVisualizerRow *self, - const gchar *group); + const gchar *group); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-model-filter.h b/src/libsysprof-ui/sysprof-model-filter.h index ccc14fb0..ddbc2b9a 100644 --- a/src/libsysprof-ui/sysprof-model-filter.h +++ b/src/libsysprof-ui/sysprof-model-filter.h @@ -46,15 +46,15 @@ struct _SysprofModelFilterClass }; SYSPROF_AVAILABLE_IN_ALL -SysprofModelFilter *sysprof_model_filter_new (GListModel *child_model); +SysprofModelFilter *sysprof_model_filter_new (GListModel *child_model); SYSPROF_AVAILABLE_IN_ALL -GListModel *sysprof_model_filter_get_child_model (SysprofModelFilter *self); +GListModel *sysprof_model_filter_get_child_model (SysprofModelFilter *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_model_filter_invalidate (SysprofModelFilter *self); +void sysprof_model_filter_invalidate (SysprofModelFilter *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_model_filter_set_filter_func (SysprofModelFilter *self, - SysprofModelFilterFunc filter_func, - gpointer filter_func_data, - GDestroyNotify filter_func_data_destroy); +void sysprof_model_filter_set_filter_func (SysprofModelFilter *self, + SysprofModelFilterFunc filter_func, + gpointer filter_func_data, + GDestroyNotify filter_func_data_destroy); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-multi-paned.h b/src/libsysprof-ui/sysprof-multi-paned.h index 7fa6bdf2..e675e0f6 100644 --- a/src/libsysprof-ui/sysprof-multi-paned.h +++ b/src/libsysprof-ui/sysprof-multi-paned.h @@ -26,8 +26,7 @@ #endif #include - -#include "sysprof-version-macros.h" +#include G_BEGIN_DECLS diff --git a/src/libsysprof-ui/sysprof-process-model-row.h b/src/libsysprof-ui/sysprof-process-model-row.h index cd22f641..63100357 100644 --- a/src/libsysprof-ui/sysprof-process-model-row.h +++ b/src/libsysprof-ui/sysprof-process-model-row.h @@ -42,13 +42,13 @@ struct _SysprofProcessModelRowClass }; SYSPROF_AVAILABLE_IN_ALL -GtkWidget *sysprof_process_model_row_new (SysprofProcessModelItem *item); +GtkWidget *sysprof_process_model_row_new (SysprofProcessModelItem *item); SYSPROF_AVAILABLE_IN_ALL SysprofProcessModelItem *sysprof_process_model_row_get_item (SysprofProcessModelRow *self); SYSPROF_AVAILABLE_IN_ALL -gboolean sysprof_process_model_row_get_selected (SysprofProcessModelRow *self); +gboolean sysprof_process_model_row_get_selected (SysprofProcessModelRow *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_process_model_row_set_selected (SysprofProcessModelRow *self, - gboolean selected); +void sysprof_process_model_row_set_selected (SysprofProcessModelRow *self, + gboolean selected); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-profiler-menu-button.h b/src/libsysprof-ui/sysprof-profiler-menu-button.h index c62d1118..946ea3c9 100644 --- a/src/libsysprof-ui/sysprof-profiler-menu-button.h +++ b/src/libsysprof-ui/sysprof-profiler-menu-button.h @@ -25,9 +25,7 @@ #endif #include - -#include "sysprof-profiler.h" -#include "sysprof-version-macros.h" +#include G_BEGIN_DECLS @@ -44,10 +42,10 @@ struct _SysprofProfilerMenuButtonClass }; SYSPROF_AVAILABLE_IN_ALL -GtkWidget *sysprof_profiler_menu_button_new (void); +GtkWidget *sysprof_profiler_menu_button_new (void); SYSPROF_AVAILABLE_IN_ALL -void sysprof_profiler_menu_button_set_profiler (SysprofProfilerMenuButton *self, - SysprofProfiler *profiler); +void sysprof_profiler_menu_button_set_profiler (SysprofProfilerMenuButton *self, + SysprofProfiler *profiler); SYSPROF_AVAILABLE_IN_ALL SysprofProfiler *sysprof_profiler_menu_button_get_profiler (SysprofProfilerMenuButton *self); diff --git a/src/libsysprof-ui/sysprof-recording-state-view.h b/src/libsysprof-ui/sysprof-recording-state-view.h index 99ab87e1..82d3b8e6 100644 --- a/src/libsysprof-ui/sysprof-recording-state-view.h +++ b/src/libsysprof-ui/sysprof-recording-state-view.h @@ -45,6 +45,6 @@ SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_recording_state_view_new (void); SYSPROF_AVAILABLE_IN_ALL void sysprof_recording_state_view_set_profiler (SysprofRecordingStateView *self, - SysprofProfiler *profiler); + SysprofProfiler *profiler); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-theme-manager.h b/src/libsysprof-ui/sysprof-theme-manager.h index 51b0a790..3724628a 100644 --- a/src/libsysprof-ui/sysprof-theme-manager.h +++ b/src/libsysprof-ui/sysprof-theme-manager.h @@ -36,12 +36,12 @@ G_DECLARE_FINAL_TYPE (SysprofThemeManager, sysprof_theme_manager, SYSPROF, THEME G_GNUC_INTERNAL SysprofThemeManager *sysprof_theme_manager_get_default (void); G_GNUC_INTERNAL -void sysprof_theme_manager_unregister (SysprofThemeManager *self, - guint registration_id); +void sysprof_theme_manager_unregister (SysprofThemeManager *self, + guint registration_id); G_GNUC_INTERNAL -guint sysprof_theme_manager_register_resource (SysprofThemeManager *self, - const gchar *theme_name, - const gchar *variant, - const gchar *resource); +guint sysprof_theme_manager_register_resource (SysprofThemeManager *self, + const gchar *theme_name, + const gchar *variant, + const gchar *resource); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-visualizer-list.h b/src/libsysprof-ui/sysprof-visualizer-list.h index 903b2f1a..0e3ff41e 100644 --- a/src/libsysprof-ui/sysprof-visualizer-list.h +++ b/src/libsysprof-ui/sysprof-visualizer-list.h @@ -49,12 +49,12 @@ struct _SysprofVisualizerListClass gpointer _reserved8; }; -GtkWidget *sysprof_visualizer_list_new (void); -void sysprof_visualizer_list_set_reader (SysprofVisualizerList *self, - SysprofCaptureReader *reader); +GtkWidget *sysprof_visualizer_list_new (void); +void sysprof_visualizer_list_set_reader (SysprofVisualizerList *self, + SysprofCaptureReader *reader); SysprofCaptureReader *sysprof_visualizer_list_get_reader (SysprofVisualizerList *self); SysprofZoomManager *sysprof_visualizer_list_get_zoom_manager (SysprofVisualizerList *self); -void sysprof_visualizer_list_set_zoom_manager (SysprofVisualizerList *self, - SysprofZoomManager *zoom_manager); +void sysprof_visualizer_list_set_zoom_manager (SysprofVisualizerList *self, + SysprofZoomManager *zoom_manager); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-visualizer-row.h b/src/libsysprof-ui/sysprof-visualizer-row.h index 5ab8fd6c..0340f6d1 100644 --- a/src/libsysprof-ui/sysprof-visualizer-row.h +++ b/src/libsysprof-ui/sysprof-visualizer-row.h @@ -25,8 +25,8 @@ #endif #include +#include -#include "sysprof-capture-reader.h" #include "sysprof-zoom-manager.h" G_BEGIN_DECLS @@ -65,15 +65,19 @@ struct _SysprofVisualizerRowClass gpointer _reserved[16]; }; -void sysprof_visualizer_row_set_reader (SysprofVisualizerRow *self, - SysprofCaptureReader *reader); -SysprofZoomManager *sysprof_visualizer_row_get_zoom_manager (SysprofVisualizerRow *self); -void sysprof_visualizer_row_set_zoom_manager (SysprofVisualizerRow *self, - SysprofZoomManager *zoom_manager); -void sysprof_visualizer_row_translate_points (SysprofVisualizerRow *self, - const SysprofVisualizerRowRelativePoint *in_points, - guint n_in_points, - SysprofVisualizerRowAbsolutePoint *out_points, - guint n_out_points); +SYSPROF_AVAILABLE_IN_ALL +void sysprof_visualizer_row_set_reader (SysprofVisualizerRow *self, + SysprofCaptureReader *reader); +SYSPROF_AVAILABLE_IN_ALL +SysprofZoomManager *sysprof_visualizer_row_get_zoom_manager (SysprofVisualizerRow *self); +SYSPROF_AVAILABLE_IN_ALL +void sysprof_visualizer_row_set_zoom_manager (SysprofVisualizerRow *self, + SysprofZoomManager *zoom_manager); +SYSPROF_AVAILABLE_IN_ALL +void sysprof_visualizer_row_translate_points (SysprofVisualizerRow *self, + const SysprofVisualizerRowRelativePoint *in_points, + guint n_in_points, + SysprofVisualizerRowAbsolutePoint *out_points, + guint n_out_points); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-visualizer-ticks.h b/src/libsysprof-ui/sysprof-visualizer-ticks.h index a8ce6ad3..2ef71e70 100644 --- a/src/libsysprof-ui/sysprof-visualizer-ticks.h +++ b/src/libsysprof-ui/sysprof-visualizer-ticks.h @@ -34,13 +34,13 @@ G_DECLARE_FINAL_TYPE (SysprofVisualizerTicks, sysprof_visualizer_ticks, SYSPROF, GtkWidget *sysprof_visualizer_ticks_new (void); void sysprof_visualizer_ticks_set_epoch (SysprofVisualizerTicks *self, - gint64 epoch); + gint64 epoch); gint64 sysprof_visualizer_ticks_get_epoch (SysprofVisualizerTicks *self); void sysprof_visualizer_ticks_get_time_range (SysprofVisualizerTicks *self, - gint64 *begin_time, - gint64 *end_time); + gint64 *begin_time, + gint64 *end_time); void sysprof_visualizer_ticks_set_time_range (SysprofVisualizerTicks *self, - gint64 begin_time, - gint64 end_time); + gint64 begin_time, + gint64 end_time); G_END_DECLS diff --git a/src/libsysprof-ui/sysprof-visualizer-view.h b/src/libsysprof-ui/sysprof-visualizer-view.h index a18237c3..a91d8e14 100644 --- a/src/libsysprof-ui/sysprof-visualizer-view.h +++ b/src/libsysprof-ui/sysprof-visualizer-view.h @@ -67,17 +67,17 @@ struct _SysprofVisualizerViewClass }; SYSPROF_AVAILABLE_IN_ALL -GtkWidget *sysprof_visualizer_view_new (void); +GtkWidget *sysprof_visualizer_view_new (void); SYSPROF_AVAILABLE_IN_ALL SysprofCaptureReader *sysprof_visualizer_view_get_reader (SysprofVisualizerView *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_visualizer_view_set_reader (SysprofVisualizerView *self, - SysprofCaptureReader *reader); +void sysprof_visualizer_view_set_reader (SysprofVisualizerView *self, + SysprofCaptureReader *reader); SYSPROF_AVAILABLE_IN_ALL SysprofZoomManager *sysprof_visualizer_view_get_zoom_manager (SysprofVisualizerView *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_visualizer_view_set_zoom_manager (SysprofVisualizerView *self, - SysprofZoomManager *zoom_manager); +void sysprof_visualizer_view_set_zoom_manager (SysprofVisualizerView *self, + SysprofZoomManager *zoom_manager); SYSPROF_AVAILABLE_IN_ALL SysprofSelection *sysprof_visualizer_view_get_selection (SysprofVisualizerView *self); diff --git a/src/libsysprof-ui/sysprof-zoom-manager.h b/src/libsysprof-ui/sysprof-zoom-manager.h index 72517ce2..a67bc515 100644 --- a/src/libsysprof-ui/sysprof-zoom-manager.h +++ b/src/libsysprof-ui/sysprof-zoom-manager.h @@ -38,29 +38,29 @@ G_DECLARE_FINAL_TYPE (SysprofZoomManager, sysprof_zoom_manager, SYSPROF, ZOOM_MA SYSPROF_AVAILABLE_IN_ALL SysprofZoomManager *sysprof_zoom_manager_new (void); SYSPROF_AVAILABLE_IN_ALL -gboolean sysprof_zoom_manager_get_can_zoom_in (SysprofZoomManager *self); +gboolean sysprof_zoom_manager_get_can_zoom_in (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -gboolean sysprof_zoom_manager_get_can_zoom_out (SysprofZoomManager *self); +gboolean sysprof_zoom_manager_get_can_zoom_out (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -gboolean sysprof_zoom_manager_get_min_zoom (SysprofZoomManager *self); +gboolean sysprof_zoom_manager_get_min_zoom (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -gboolean sysprof_zoom_manager_get_max_zoom (SysprofZoomManager *self); +gboolean sysprof_zoom_manager_get_max_zoom (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_zoom_manager_set_min_zoom (SysprofZoomManager *self, - gdouble min_zoom); +void sysprof_zoom_manager_set_min_zoom (SysprofZoomManager *self, + gdouble min_zoom); SYSPROF_AVAILABLE_IN_ALL -void sysprof_zoom_manager_set_max_zoom (SysprofZoomManager *self, - gdouble max_zoom); +void sysprof_zoom_manager_set_max_zoom (SysprofZoomManager *self, + gdouble max_zoom); SYSPROF_AVAILABLE_IN_ALL -void sysprof_zoom_manager_zoom_in (SysprofZoomManager *self); +void sysprof_zoom_manager_zoom_in (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_zoom_manager_zoom_out (SysprofZoomManager *self); +void sysprof_zoom_manager_zoom_out (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_zoom_manager_reset (SysprofZoomManager *self); +void sysprof_zoom_manager_reset (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -gdouble sysprof_zoom_manager_get_zoom (SysprofZoomManager *self); +gdouble sysprof_zoom_manager_get_zoom (SysprofZoomManager *self); SYSPROF_AVAILABLE_IN_ALL -void sysprof_zoom_manager_set_zoom (SysprofZoomManager *self, - gdouble zoom); +void sysprof_zoom_manager_set_zoom (SysprofZoomManager *self, + gdouble zoom); G_END_DECLS