mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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
|
||||
{
|
||||
GtkCellRendererTextClass parent_class;
|
||||
|
||||
gpointer padding[4];
|
||||
};
|
||||
|
||||
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
|
||||
{
|
||||
GtkBinClass parent;
|
||||
|
||||
gpointer padding[4];
|
||||
};
|
||||
|
||||
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
|
||||
{
|
||||
GtkBinClass parent;
|
||||
|
||||
gpointer padding[4];
|
||||
};
|
||||
|
||||
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
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
gpointer padding[8];
|
||||
};
|
||||
|
||||
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
|
||||
{
|
||||
GtkListBoxRowClass parent;
|
||||
|
||||
gpointer padding[4];
|
||||
};
|
||||
|
||||
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
|
||||
{
|
||||
GtkMenuButtonClass parent_class;
|
||||
|
||||
gpointer padding[8];
|
||||
};
|
||||
|
||||
GtkWidget *sp_profiler_menu_button_new (void);
|
||||
|
||||
@ -54,6 +54,8 @@ struct _SpProfilerClass
|
||||
* completion of stopping.
|
||||
*/
|
||||
void (*stopped) (SpProfiler *self);
|
||||
|
||||
gpointer padding[8];
|
||||
};
|
||||
|
||||
SpProfiler *sp_profiler_new (void);
|
||||
|
||||
@ -32,6 +32,8 @@ G_DECLARE_DERIVABLE_TYPE (SpRecordingStateView, sp_recording_state_view, SP, REC
|
||||
struct _SpRecordingStateViewClass
|
||||
{
|
||||
GtkBinClass parent;
|
||||
|
||||
gpointer padding[4];
|
||||
};
|
||||
|
||||
GtkWidget *sp_recording_state_view_new (void);
|
||||
|
||||
Reference in New Issue
Block a user