From 88ae57dc736635d3f26e3e776298e57b4fb54715 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 18 Jul 2023 20:00:20 -0700 Subject: [PATCH] sysprof: remove availability macros We don't need this for the application. --- src/sysprof/sysprof-axis.h | 3 --- src/sysprof/sysprof-callgraph-view.h | 12 ------------ src/sysprof/sysprof-chart-layer.h | 5 ----- src/sysprof/sysprof-chart.h | 7 ------- src/sysprof/sysprof-column-layer.h | 6 ------ src/sysprof/sysprof-duplex-layer.h | 6 ------ src/sysprof/sysprof-line-layer.h | 14 -------------- src/sysprof/sysprof-mark-chart.h | 4 ---- src/sysprof/sysprof-mark-table.h | 4 ---- src/sysprof/sysprof-memory-callgraph-view.h | 2 -- src/sysprof/sysprof-normalized-series-item.h | 3 --- src/sysprof/sysprof-normalized-series.h | 12 ------------ src/sysprof/sysprof-series.h | 5 ----- src/sysprof/sysprof-session-model-item.h | 3 --- src/sysprof/sysprof-session-model.h | 6 ------ src/sysprof/sysprof-session.h | 11 ----------- src/sysprof/sysprof-split-layer.h | 6 ------ src/sysprof/sysprof-time-label.h | 8 -------- src/sysprof/sysprof-time-ruler.h | 5 ----- src/sysprof/sysprof-time-series-item.h | 5 ----- src/sysprof/sysprof-time-series.h | 9 --------- src/sysprof/sysprof-time-span-layer.h | 10 ---------- src/sysprof/sysprof-value-axis.h | 6 ------ src/sysprof/sysprof-weighted-callgraph-view.h | 2 -- src/sysprof/sysprof-xy-layer.h | 10 ---------- src/sysprof/sysprof-xy-series-item.h | 4 ---- src/sysprof/sysprof-xy-series.h | 6 ------ 27 files changed, 174 deletions(-) diff --git a/src/sysprof/sysprof-axis.h b/src/sysprof/sysprof-axis.h index ec0eb2bc..9b57cc25 100644 --- a/src/sysprof/sysprof-axis.h +++ b/src/sysprof/sysprof-axis.h @@ -34,11 +34,8 @@ G_BEGIN_DECLS typedef struct _SysprofAxis SysprofAxis; typedef struct _SysprofAxisClass SysprofAxisClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_axis_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL const char *sysprof_axis_get_title (SysprofAxis *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_axis_set_title (SysprofAxis *self, const char *title); diff --git a/src/sysprof/sysprof-callgraph-view.h b/src/sysprof/sysprof-callgraph-view.h index 33177b2b..ca638b33 100644 --- a/src/sysprof/sysprof-callgraph-view.h +++ b/src/sysprof/sysprof-callgraph-view.h @@ -35,33 +35,21 @@ G_BEGIN_DECLS typedef struct _SysprofCallgraphView SysprofCallgraphView; typedef struct _SysprofCallgraphViewClass SysprofCallgraphViewClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_callgraph_view_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL SysprofCallgraph *sysprof_callgraph_view_get_callgraph (SysprofCallgraphView *self); -SYSPROF_AVAILABLE_IN_ALL SysprofDocument *sysprof_callgraph_view_get_document (SysprofCallgraphView *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_callgraph_view_set_document (SysprofCallgraphView *self, SysprofDocument *document); -SYSPROF_AVAILABLE_IN_ALL GListModel *sysprof_callgraph_view_get_traceables (SysprofCallgraphView *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_callgraph_view_set_traceables (SysprofCallgraphView *self, GListModel *model); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_callgraph_view_get_bottom_up (SysprofCallgraphView *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_callgraph_view_set_bottom_up (SysprofCallgraphView *self, gboolean bottom_up); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_callgraph_view_get_include_threads (SysprofCallgraphView *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_callgraph_view_set_include_threads (SysprofCallgraphView *self, gboolean include_threads); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_callgraph_view_get_hide_system_libraries (SysprofCallgraphView *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_callgraph_view_set_hide_system_libraries (SysprofCallgraphView *self, gboolean hide_system_libraries); diff --git a/src/sysprof/sysprof-chart-layer.h b/src/sysprof/sysprof-chart-layer.h index b2720ad4..d7d10215 100644 --- a/src/sysprof/sysprof-chart-layer.h +++ b/src/sysprof/sysprof-chart-layer.h @@ -28,7 +28,6 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_CHART_LAYER (sysprof_chart_layer_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_DERIVABLE_TYPE (SysprofChartLayer, sysprof_chart_layer, SYSPROF, CHART_LAYER, GtkWidget) struct _SysprofChartLayerClass @@ -47,16 +46,12 @@ struct _SysprofChartLayerClass gpointer _reserved[16]; }; -SYSPROF_AVAILABLE_IN_ALL const char *sysprof_chart_layer_get_title (SysprofChartLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_chart_layer_set_title (SysprofChartLayer *self, const char *title); -SYSPROF_AVAILABLE_IN_ALL gpointer sysprof_chart_layer_lookup_item (SysprofChartLayer *self, double x, double y); -SYSPROF_AVAILABLE_IN_ALL void sysprof_chart_layer_snapshot_motion (SysprofChartLayer *self, GtkSnapshot *snapshot, double x, diff --git a/src/sysprof/sysprof-chart.h b/src/sysprof/sysprof-chart.h index 461f98c6..808bc4d0 100644 --- a/src/sysprof/sysprof-chart.h +++ b/src/sysprof/sysprof-chart.h @@ -45,22 +45,15 @@ struct _SysprofChartClass gpointer _reserved[16]; }; -SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_chart_new (void); -SYSPROF_AVAILABLE_IN_ALL SysprofSession *sysprof_chart_get_session (SysprofChart *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_chart_set_session (SysprofChart *self, SysprofSession *session); -SYSPROF_AVAILABLE_IN_ALL const char *sysprof_chart_get_title (SysprofChart *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_chart_set_title (SysprofChart *self, const char *title); -SYSPROF_AVAILABLE_IN_ALL void sysprof_chart_add_layer (SysprofChart *self, SysprofChartLayer *layer); -SYSPROF_AVAILABLE_IN_ALL void sysprof_chart_remove_layer (SysprofChart *self, SysprofChartLayer *layer); diff --git a/src/sysprof/sysprof-column-layer.h b/src/sysprof/sysprof-column-layer.h index 613d207a..8e26ac76 100644 --- a/src/sysprof/sysprof-column-layer.h +++ b/src/sysprof/sysprof-column-layer.h @@ -32,19 +32,13 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_COLUMN_LAYER (sysprof_column_layer_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofColumnLayer, sysprof_column_layer, SYSPROF, COLUMN_LAYER, SysprofXYLayer) -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_column_layer_new (void); -SYSPROF_AVAILABLE_IN_ALL const GdkRGBA *sysprof_column_layer_get_color (SysprofColumnLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_column_layer_set_color (SysprofColumnLayer *self, const GdkRGBA *color); -SYSPROF_AVAILABLE_IN_ALL const GdkRGBA *sysprof_column_layer_get_hover_color (SysprofColumnLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_column_layer_set_hover_color (SysprofColumnLayer *self, const GdkRGBA *hover_color); diff --git a/src/sysprof/sysprof-duplex-layer.h b/src/sysprof/sysprof-duplex-layer.h index 5a04bdb1..58c16e7a 100644 --- a/src/sysprof/sysprof-duplex-layer.h +++ b/src/sysprof/sysprof-duplex-layer.h @@ -26,19 +26,13 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_DUPLEX_LAYER (sysprof_duplex_layer_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofDuplexLayer, sysprof_duplex_layer, SYSPROF, DUPLEX_LAYER, SysprofChartLayer) -SYSPROF_AVAILABLE_IN_ALL SysprofDuplexLayer *sysprof_duplex_layer_new (void); -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_duplex_layer_get_upper_layer (SysprofDuplexLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_duplex_layer_set_upper_layer (SysprofDuplexLayer *self, SysprofChartLayer *layer); -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_duplex_layer_get_lower_layer (SysprofDuplexLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_duplex_layer_set_lower_layer (SysprofDuplexLayer *self, SysprofChartLayer *layer); diff --git a/src/sysprof/sysprof-line-layer.h b/src/sysprof/sysprof-line-layer.h index 8cd06d77..aade6f9b 100644 --- a/src/sysprof/sysprof-line-layer.h +++ b/src/sysprof/sysprof-line-layer.h @@ -29,39 +29,25 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_LINE_LAYER (sysprof_line_layer_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofLineLayer, sysprof_line_layer, SYSPROF, LINE_LAYER, SysprofXYLayer) -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_line_layer_new (void); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_line_layer_get_antialias (SysprofLineLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_line_layer_set_antialias (SysprofLineLayer *self, gboolean antialias); -SYSPROF_AVAILABLE_IN_ALL const GdkRGBA *sysprof_line_layer_get_color (SysprofLineLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_line_layer_set_color (SysprofLineLayer *self, const GdkRGBA *color); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_line_layer_get_dashed (SysprofLineLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_line_layer_set_dashed (SysprofLineLayer *self, gboolean dashed); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_line_layer_get_fill (SysprofLineLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_line_layer_set_fill (SysprofLineLayer *self, gboolean fill); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_line_layer_get_flip_y (SysprofLineLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_line_layer_set_flip_y (SysprofLineLayer *self, gboolean flip_y); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_line_layer_get_spline (SysprofLineLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_line_layer_set_spline (SysprofLineLayer *self, gboolean spline); diff --git a/src/sysprof/sysprof-mark-chart.h b/src/sysprof/sysprof-mark-chart.h index 5280fb6d..4f978934 100644 --- a/src/sysprof/sysprof-mark-chart.h +++ b/src/sysprof/sysprof-mark-chart.h @@ -28,14 +28,10 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_MARK_CHART (sysprof_mark_chart_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofMarkChart, sysprof_mark_chart, SYSPROF, MARK_CHART, GtkWidget) -SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_mark_chart_new (void); -SYSPROF_AVAILABLE_IN_ALL SysprofSession *sysprof_mark_chart_get_session (SysprofMarkChart *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_mark_chart_set_session (SysprofMarkChart *self, SysprofSession *session); diff --git a/src/sysprof/sysprof-mark-table.h b/src/sysprof/sysprof-mark-table.h index bb025cbc..3495bef4 100644 --- a/src/sysprof/sysprof-mark-table.h +++ b/src/sysprof/sysprof-mark-table.h @@ -30,14 +30,10 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_MARK_TABLE (sysprof_mark_table_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofMarkTable, sysprof_mark_table, SYSPROF, MARK_TABLE, GtkWidget) -SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_mark_table_new (void); -SYSPROF_AVAILABLE_IN_ALL SysprofSession *sysprof_mark_table_get_session (SysprofMarkTable *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_mark_table_set_session (SysprofMarkTable *self, SysprofSession *session); diff --git a/src/sysprof/sysprof-memory-callgraph-view.h b/src/sysprof/sysprof-memory-callgraph-view.h index 6db99547..db781720 100644 --- a/src/sysprof/sysprof-memory-callgraph-view.h +++ b/src/sysprof/sysprof-memory-callgraph-view.h @@ -32,9 +32,7 @@ G_BEGIN_DECLS typedef struct _SysprofMemoryCallgraphView SysprofMemoryCallgraphView; typedef struct _SysprofMemoryCallgraphViewClass SysprofMemoryCallgraphViewClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_memory_callgraph_view_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_memory_callgraph_view_new (void); G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofMemoryCallgraphView, g_object_unref) diff --git a/src/sysprof/sysprof-normalized-series-item.h b/src/sysprof/sysprof-normalized-series-item.h index 3d06c752..6b2d3e9f 100644 --- a/src/sysprof/sysprof-normalized-series-item.h +++ b/src/sysprof/sysprof-normalized-series-item.h @@ -28,12 +28,9 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_NORMALIZED_SERIES_ITEM (sysprof_normalized_series_item_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofNormalizedSeriesItem, sysprof_normalized_series_item, SYSPROF, NORMALIZED_SERIES_ITEM, GObject) -SYSPROF_AVAILABLE_IN_ALL gpointer sysprof_normalized_series_item_get_item (SysprofNormalizedSeriesItem *self); -SYSPROF_AVAILABLE_IN_ALL double sysprof_normalized_series_item_get_value (SysprofNormalizedSeriesItem *self); G_END_DECLS diff --git a/src/sysprof/sysprof-normalized-series.h b/src/sysprof/sysprof-normalized-series.h index 6ac66378..ff93af89 100644 --- a/src/sysprof/sysprof-normalized-series.h +++ b/src/sysprof/sysprof-normalized-series.h @@ -35,36 +35,24 @@ G_BEGIN_DECLS typedef struct _SysprofNormalizedSeries SysprofNormalizedSeries; typedef struct _SysprofNormalizedSeriesClass SysprofNormalizedSeriesClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_normalized_series_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL SysprofSeries *sysprof_normalized_series_new (SysprofSeries *series, SysprofAxis *axis, GtkExpression *expression); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_normalized_series_get_inverted (SysprofNormalizedSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_normalized_series_set_inverted (SysprofNormalizedSeries *self, gboolean inverted); -SYSPROF_AVAILABLE_IN_ALL GtkExpression *sysprof_normalized_series_get_expression (SysprofNormalizedSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_normalized_series_set_expression (SysprofNormalizedSeries *self, GtkExpression *expression); -SYSPROF_AVAILABLE_IN_ALL SysprofAxis *sysprof_normalized_series_get_axis (SysprofNormalizedSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_normalized_series_set_axis (SysprofNormalizedSeries *self, SysprofAxis *axis); -SYSPROF_AVAILABLE_IN_ALL SysprofSeries *sysprof_normalized_series_get_series (SysprofNormalizedSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_normalized_series_set_series (SysprofNormalizedSeries *self, SysprofSeries *series); -SYSPROF_AVAILABLE_IN_ALL double sysprof_normalized_series_value_at (SysprofNormalizedSeries *self, guint position); -SYSPROF_AVAILABLE_IN_ALL const double *sysprof_normalized_series_get_values (SysprofNormalizedSeries *self, guint *n_values); diff --git a/src/sysprof/sysprof-series.h b/src/sysprof/sysprof-series.h index 5a30aa75..2a441488 100644 --- a/src/sysprof/sysprof-series.h +++ b/src/sysprof/sysprof-series.h @@ -34,16 +34,11 @@ G_BEGIN_DECLS typedef struct _SysprofSeries SysprofSeries; typedef struct _SysprofSeriesClass SysprofSeriesClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_series_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL GListModel *sysprof_series_get_model (SysprofSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_series_set_model (SysprofSeries *self, GListModel *model); -SYSPROF_AVAILABLE_IN_ALL const char *sysprof_series_get_title (SysprofSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_series_set_title (SysprofSeries *self, const char *title); diff --git a/src/sysprof/sysprof-session-model-item.h b/src/sysprof/sysprof-session-model-item.h index e35bd588..42712cf5 100644 --- a/src/sysprof/sysprof-session-model-item.h +++ b/src/sysprof/sysprof-session-model-item.h @@ -28,12 +28,9 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_SESSION_MODEL_ITEM (sysprof_session_model_item_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofSessionModelItem, sysprof_session_model_item, SYSPROF, SESSION_MODEL_ITEM, GObject) -SYSPROF_AVAILABLE_IN_ALL SysprofSession *sysprof_session_model_item_get_session (SysprofSessionModelItem *self); -SYSPROF_AVAILABLE_IN_ALL gpointer sysprof_session_model_item_get_item (SysprofSessionModelItem *self); G_END_DECLS diff --git a/src/sysprof/sysprof-session-model.h b/src/sysprof/sysprof-session-model.h index 108b4478..41e196b0 100644 --- a/src/sysprof/sysprof-session-model.h +++ b/src/sysprof/sysprof-session-model.h @@ -28,20 +28,14 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_SESSION_MODEL (sysprof_session_model_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofSessionModel, sysprof_session_model, SYSPROF, SESSION_MODEL, GObject) -SYSPROF_AVAILABLE_IN_ALL SysprofSessionModel *sysprof_session_model_new (SysprofSession *session, GListModel *model); -SYSPROF_AVAILABLE_IN_ALL GListModel *sysprof_session_model_get_model (SysprofSessionModel *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_session_model_set_model (SysprofSessionModel *self, GListModel *model); -SYSPROF_AVAILABLE_IN_ALL SysprofSession *sysprof_session_model_get_session (SysprofSessionModel *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_session_model_set_session (SysprofSessionModel *self, SysprofSession *session); diff --git a/src/sysprof/sysprof-session.h b/src/sysprof/sysprof-session.h index 44e776de..0cc8702a 100644 --- a/src/sysprof/sysprof-session.h +++ b/src/sysprof/sysprof-session.h @@ -31,29 +31,18 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_SESSION (sysprof_session_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofSession, sysprof_session, SYSPROF, SESSION, GObject) -SYSPROF_AVAILABLE_IN_ALL SysprofSession *sysprof_session_new (SysprofDocument *document); -SYSPROF_AVAILABLE_IN_ALL SysprofDocument *sysprof_session_get_document (SysprofSession *self); -SYSPROF_AVAILABLE_IN_ALL const SysprofTimeSpan *sysprof_session_get_document_time (SysprofSession *self); -SYSPROF_AVAILABLE_IN_ALL GtkFilter *sysprof_session_get_filter (SysprofSession *self); -SYSPROF_AVAILABLE_IN_ALL const SysprofTimeSpan *sysprof_session_get_selected_time (SysprofSession *self); -SYSPROF_AVAILABLE_IN_ALL const SysprofTimeSpan *sysprof_session_get_visible_time (SysprofSession *self); -SYSPROF_AVAILABLE_IN_ALL SysprofAxis *sysprof_session_get_visible_time_axis (SysprofSession *self); -SYSPROF_AVAILABLE_IN_ALL SysprofAxis *sysprof_session_get_selected_time_axis (SysprofSession *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_session_select_time (SysprofSession *self, const SysprofTimeSpan *time_span); -SYSPROF_AVAILABLE_IN_ALL void sysprof_session_zoom_to_selection (SysprofSession *self); G_END_DECLS diff --git a/src/sysprof/sysprof-split-layer.h b/src/sysprof/sysprof-split-layer.h index 757a99f1..41126b10 100644 --- a/src/sysprof/sysprof-split-layer.h +++ b/src/sysprof/sysprof-split-layer.h @@ -29,19 +29,13 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_SPLIT_LAYER (sysprof_split_layer_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofSplitLayer, sysprof_split_layer, SYSPROF, SPLIT_LAYER, SysprofChartLayer) -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_split_layer_new (void); -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_split_layer_get_bottom (SysprofSplitLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_split_layer_set_bottom (SysprofSplitLayer *self, SysprofChartLayer *top); -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_split_layer_get_top (SysprofSplitLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_split_layer_set_top (SysprofSplitLayer *self, SysprofChartLayer *bottom); diff --git a/src/sysprof/sysprof-time-label.h b/src/sysprof/sysprof-time-label.h index 21118a37..4900da62 100644 --- a/src/sysprof/sysprof-time-label.h +++ b/src/sysprof/sysprof-time-label.h @@ -26,24 +26,16 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_TIME_LABEL (sysprof_time_label_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofTimeLabel, sysprof_time_label, SYSPROF, TIME_LABEL, GtkWidget) -SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_time_label_new (void); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_time_label_get_show_zero (SysprofTimeLabel *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_label_set_show_zero (SysprofTimeLabel *self, gboolean show_zero); -SYSPROF_AVAILABLE_IN_ALL gint64 sysprof_time_label_get_duration (SysprofTimeLabel *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_label_set_duration (SysprofTimeLabel *self, gint64 duration); -SYSPROF_AVAILABLE_IN_ALL gint64 sysprof_time_label_get_time_offset (SysprofTimeLabel *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_label_set_time_offset (SysprofTimeLabel *self, gint64 time_offset); diff --git a/src/sysprof/sysprof-time-ruler.h b/src/sysprof/sysprof-time-ruler.h index a80fd0e7..62832997 100644 --- a/src/sysprof/sysprof-time-ruler.h +++ b/src/sysprof/sysprof-time-ruler.h @@ -26,17 +26,12 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_TIME_RULER (sysprof_time_ruler_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofTimeRuler, sysprof_time_ruler, SYSPROF, TIME_RULER, GtkWidget) -SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_time_ruler_new (void); -SYSPROF_AVAILABLE_IN_ALL SysprofSession *sysprof_time_ruler_get_session (SysprofTimeRuler *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_ruler_set_session (SysprofTimeRuler *self, SysprofSession *session); -SYSPROF_AVAILABLE_IN_ALL char *sysprof_time_ruler_get_label_at_point (SysprofTimeRuler *self, double x); diff --git a/src/sysprof/sysprof-time-series-item.h b/src/sysprof/sysprof-time-series-item.h index 896c0cbe..fba4d6a7 100644 --- a/src/sysprof/sysprof-time-series-item.h +++ b/src/sysprof/sysprof-time-series-item.h @@ -28,16 +28,11 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_TIME_SERIES_ITEM (sysprof_time_series_item_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofTimeSeriesItem, sysprof_time_series_item, SYSPROF, TIME_SERIES_ITEM, GObject) -SYSPROF_AVAILABLE_IN_ALL gint64 sysprof_time_series_item_get_begin_time (SysprofTimeSeriesItem *self); -SYSPROF_AVAILABLE_IN_ALL gint64 sysprof_time_series_item_get_duration (SysprofTimeSeriesItem *self); -SYSPROF_AVAILABLE_IN_ALL gint64 sysprof_time_series_item_get_end_time (SysprofTimeSeriesItem *self); -SYSPROF_AVAILABLE_IN_ALL gpointer sysprof_time_series_item_get_item (SysprofTimeSeriesItem *self); G_END_DECLS diff --git a/src/sysprof/sysprof-time-series.h b/src/sysprof/sysprof-time-series.h index d5100770..51cbdb85 100644 --- a/src/sysprof/sysprof-time-series.h +++ b/src/sysprof/sysprof-time-series.h @@ -34,30 +34,21 @@ G_BEGIN_DECLS typedef struct _SysprofTimeSeries SysprofTimeSeries; typedef struct _SysprofTimeSeriesClass SysprofTimeSeriesClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_time_series_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL SysprofSeries *sysprof_time_series_new (const char *title, GListModel *model, GtkExpression *begin_time_expression, GtkExpression *end_time_expression, GtkExpression *label_expression); -SYSPROF_AVAILABLE_IN_ALL GtkExpression *sysprof_time_series_get_begin_time_expression (SysprofTimeSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_series_set_begin_time_expression (SysprofTimeSeries *self, GtkExpression *time_expression); -SYSPROF_AVAILABLE_IN_ALL GtkExpression *sysprof_time_series_get_end_time_expression (SysprofTimeSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_series_set_end_time_expression (SysprofTimeSeries *self, GtkExpression *end_time_expression); -SYSPROF_AVAILABLE_IN_ALL GtkExpression *sysprof_time_series_get_label_expression (SysprofTimeSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_series_set_label_expression (SysprofTimeSeries *self, GtkExpression *label_expression); -SYSPROF_AVAILABLE_IN_ALL char *sysprof_time_series_dup_label (SysprofTimeSeries *self, guint position); diff --git a/src/sysprof/sysprof-time-span-layer.h b/src/sysprof/sysprof-time-span-layer.h index a49181a7..9caf6a8d 100644 --- a/src/sysprof/sysprof-time-span-layer.h +++ b/src/sysprof/sysprof-time-span-layer.h @@ -29,29 +29,19 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_TIME_SPAN_LAYER (sysprof_time_span_layer_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofTimeSpanLayer, sysprof_time_span_layer, SYSPROF, TIME_SPAN_LAYER, SysprofChartLayer) -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_time_span_layer_new (void); -SYSPROF_AVAILABLE_IN_ALL const GdkRGBA *sysprof_time_span_layer_get_color (SysprofTimeSpanLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_span_layer_set_color (SysprofTimeSpanLayer *self, const GdkRGBA *color); -SYSPROF_AVAILABLE_IN_ALL const GdkRGBA *sysprof_time_span_layer_get_event_color (SysprofTimeSpanLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_span_layer_set_event_color (SysprofTimeSpanLayer *self, const GdkRGBA *event_color); -SYSPROF_AVAILABLE_IN_ALL SysprofTimeSeries *sysprof_time_span_layer_get_series (SysprofTimeSpanLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_span_layer_set_series (SysprofTimeSpanLayer *self, SysprofTimeSeries *series); -SYSPROF_AVAILABLE_IN_ALL SysprofAxis *sysprof_time_span_layer_get_axis (SysprofTimeSpanLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_time_span_layer_set_axis (SysprofTimeSpanLayer *self, SysprofAxis *axis); diff --git a/src/sysprof/sysprof-value-axis.h b/src/sysprof/sysprof-value-axis.h index fc6486ca..80e3dba3 100644 --- a/src/sysprof/sysprof-value-axis.h +++ b/src/sysprof/sysprof-value-axis.h @@ -32,19 +32,13 @@ G_BEGIN_DECLS typedef struct _SysprofValueAxis SysprofValueAxis; typedef struct _SysprofValueAxisClass SysprofValueAxisClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_value_axis_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL SysprofAxis *sysprof_value_axis_new (double min_value, double max_value); -SYSPROF_AVAILABLE_IN_ALL double sysprof_value_axis_get_min_value (SysprofValueAxis *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_value_axis_set_min_value (SysprofValueAxis *self, double min_value); -SYSPROF_AVAILABLE_IN_ALL double sysprof_value_axis_get_max_value (SysprofValueAxis *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_value_axis_set_max_value (SysprofValueAxis *self, double max_value); diff --git a/src/sysprof/sysprof-weighted-callgraph-view.h b/src/sysprof/sysprof-weighted-callgraph-view.h index 51297a4c..67c2f3f4 100644 --- a/src/sysprof/sysprof-weighted-callgraph-view.h +++ b/src/sysprof/sysprof-weighted-callgraph-view.h @@ -32,9 +32,7 @@ G_BEGIN_DECLS typedef struct _SysprofWeightedCallgraphView SysprofWeightedCallgraphView; typedef struct _SysprofWeightedCallgraphViewClass SysprofWeightedCallgraphViewClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_weighted_callgraph_view_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL GtkWidget *sysprof_weighted_weighted_callgraph_view_new (void); G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofWeightedCallgraphView, g_object_unref) diff --git a/src/sysprof/sysprof-xy-layer.h b/src/sysprof/sysprof-xy-layer.h index 330ce50c..7654a9f9 100644 --- a/src/sysprof/sysprof-xy-layer.h +++ b/src/sysprof/sysprof-xy-layer.h @@ -30,29 +30,19 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_XY_LAYER (sysprof_xy_layer_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofXYLayer, sysprof_xy_layer, SYSPROF, XY_LAYER, SysprofChartLayer) -SYSPROF_AVAILABLE_IN_ALL SysprofChartLayer *sysprof_xy_layer_new (void); -SYSPROF_AVAILABLE_IN_ALL gboolean sysprof_xy_layer_get_flip_y (SysprofXYLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_layer_set_flip_y (SysprofXYLayer *self, gboolean flip_y); -SYSPROF_AVAILABLE_IN_ALL SysprofXYSeries *sysprof_xy_layer_get_series (SysprofXYLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_layer_set_series (SysprofXYLayer *self, SysprofXYSeries *series); -SYSPROF_AVAILABLE_IN_ALL SysprofAxis *sysprof_xy_layer_get_x_axis (SysprofXYLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_layer_set_x_axis (SysprofXYLayer *self, SysprofAxis *x_axis); -SYSPROF_AVAILABLE_IN_ALL SysprofAxis *sysprof_xy_layer_get_y_axis (SysprofXYLayer *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_layer_set_y_axis (SysprofXYLayer *self, SysprofAxis *y_axis); diff --git a/src/sysprof/sysprof-xy-series-item.h b/src/sysprof/sysprof-xy-series-item.h index a994ea04..368dd920 100644 --- a/src/sysprof/sysprof-xy-series-item.h +++ b/src/sysprof/sysprof-xy-series-item.h @@ -28,16 +28,12 @@ G_BEGIN_DECLS #define SYSPROF_TYPE_XY_SERIES_ITEM (sysprof_xy_series_item_get_type()) -SYSPROF_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (SysprofXYSeriesItem, sysprof_xy_series_item, SYSPROF, XY_SERIES_ITEM, GObject) -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_series_item_get_x_value (SysprofXYSeriesItem *self, GValue *x_value); -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_series_item_get_y_value (SysprofXYSeriesItem *self, GValue *y_value); -SYSPROF_AVAILABLE_IN_ALL gpointer sysprof_xy_series_item_get_item (SysprofXYSeriesItem *self); G_END_DECLS diff --git a/src/sysprof/sysprof-xy-series.h b/src/sysprof/sysprof-xy-series.h index 59e2b24c..5efcf41e 100644 --- a/src/sysprof/sysprof-xy-series.h +++ b/src/sysprof/sysprof-xy-series.h @@ -34,21 +34,15 @@ G_BEGIN_DECLS typedef struct _SysprofXYSeries SysprofXYSeries; typedef struct _SysprofXYSeriesClass SysprofXYSeriesClass; -SYSPROF_AVAILABLE_IN_ALL GType sysprof_xy_series_get_type (void) G_GNUC_CONST; -SYSPROF_AVAILABLE_IN_ALL SysprofSeries *sysprof_xy_series_new (const char *title, GListModel *model, GtkExpression *x_expression, GtkExpression *y_expression); -SYSPROF_AVAILABLE_IN_ALL GtkExpression *sysprof_xy_series_get_x_expression (SysprofXYSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_series_set_x_expression (SysprofXYSeries *self, GtkExpression *x_expression); -SYSPROF_AVAILABLE_IN_ALL GtkExpression *sysprof_xy_series_get_y_expression (SysprofXYSeries *self); -SYSPROF_AVAILABLE_IN_ALL void sysprof_xy_series_set_y_expression (SysprofXYSeries *self, GtkExpression *y_expression);