mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
lib: add some padding to classes
We might want to extend these going forward, so give us a chance to avoid breaking ABI.
This commit is contained in:
@ -42,6 +42,8 @@ struct _SpCellRendererPercent
|
|||||||
struct _SpCellRendererPercentClass
|
struct _SpCellRendererPercentClass
|
||||||
{
|
{
|
||||||
GtkCellRendererTextClass parent_class;
|
GtkCellRendererTextClass parent_class;
|
||||||
|
|
||||||
|
gpointer padding[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
GType sp_cell_renderer_percent_get_type (void);
|
GType sp_cell_renderer_percent_get_type (void);
|
||||||
|
|||||||
@ -30,6 +30,8 @@ G_DECLARE_DERIVABLE_TYPE (SpEmptyStateView, sp_empty_state_view, SP, EMPTY_STATE
|
|||||||
struct _SpEmptyStateViewClass
|
struct _SpEmptyStateViewClass
|
||||||
{
|
{
|
||||||
GtkBinClass parent;
|
GtkBinClass parent;
|
||||||
|
|
||||||
|
gpointer padding[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
GtkWidget *sp_empty_state_view_new (void);
|
GtkWidget *sp_empty_state_view_new (void);
|
||||||
|
|||||||
@ -32,6 +32,8 @@ G_DECLARE_DERIVABLE_TYPE (SpFailedStateView, sp_failed_state_view, SP, FAILED_ST
|
|||||||
struct _SpFailedStateViewClass
|
struct _SpFailedStateViewClass
|
||||||
{
|
{
|
||||||
GtkBinClass parent;
|
GtkBinClass parent;
|
||||||
|
|
||||||
|
gpointer padding[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
GtkWidget *sp_failed_state_view_new (void);
|
GtkWidget *sp_failed_state_view_new (void);
|
||||||
|
|||||||
@ -33,6 +33,8 @@ G_DECLARE_DERIVABLE_TYPE (SpModelFilter, sp_model_filter, SP, MODEL_FILTER, GObj
|
|||||||
struct _SpModelFilterClass
|
struct _SpModelFilterClass
|
||||||
{
|
{
|
||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
|
|
||||||
|
gpointer padding[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
SpModelFilter *sp_model_filter_new (GListModel *child_model);
|
SpModelFilter *sp_model_filter_new (GListModel *child_model);
|
||||||
|
|||||||
@ -32,6 +32,8 @@ G_DECLARE_DERIVABLE_TYPE (SpProcessModelRow, sp_process_model_row, SP, PROCESS_M
|
|||||||
struct _SpProcessModelRowClass
|
struct _SpProcessModelRowClass
|
||||||
{
|
{
|
||||||
GtkListBoxRowClass parent;
|
GtkListBoxRowClass parent;
|
||||||
|
|
||||||
|
gpointer padding[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
GtkWidget *sp_process_model_row_new (SpProcessModelItem *item);
|
GtkWidget *sp_process_model_row_new (SpProcessModelItem *item);
|
||||||
|
|||||||
@ -32,6 +32,8 @@ G_DECLARE_DERIVABLE_TYPE (SpProfilerMenuButton, sp_profiler_menu_button, SP, PRO
|
|||||||
struct _SpProfilerMenuButtonClass
|
struct _SpProfilerMenuButtonClass
|
||||||
{
|
{
|
||||||
GtkMenuButtonClass parent_class;
|
GtkMenuButtonClass parent_class;
|
||||||
|
|
||||||
|
gpointer padding[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
GtkWidget *sp_profiler_menu_button_new (void);
|
GtkWidget *sp_profiler_menu_button_new (void);
|
||||||
|
|||||||
@ -54,6 +54,8 @@ struct _SpProfilerClass
|
|||||||
* completion of stopping.
|
* completion of stopping.
|
||||||
*/
|
*/
|
||||||
void (*stopped) (SpProfiler *self);
|
void (*stopped) (SpProfiler *self);
|
||||||
|
|
||||||
|
gpointer padding[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
SpProfiler *sp_profiler_new (void);
|
SpProfiler *sp_profiler_new (void);
|
||||||
|
|||||||
@ -32,6 +32,8 @@ G_DECLARE_DERIVABLE_TYPE (SpRecordingStateView, sp_recording_state_view, SP, REC
|
|||||||
struct _SpRecordingStateViewClass
|
struct _SpRecordingStateViewClass
|
||||||
{
|
{
|
||||||
GtkBinClass parent;
|
GtkBinClass parent;
|
||||||
|
|
||||||
|
gpointer padding[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
GtkWidget *sp_recording_state_view_new (void);
|
GtkWidget *sp_recording_state_view_new (void);
|
||||||
|
|||||||
Reference in New Issue
Block a user