Add gtk_cell_renderer_set_padding() compatibility function
This commit is contained in:
@@ -193,6 +193,13 @@ static inline void wx_gtk_cell_renderer_get_padding(GtkCellRenderer* cell, gint*
|
||||
}
|
||||
#define gtk_cell_renderer_get_padding wx_gtk_cell_renderer_get_padding
|
||||
|
||||
static inline void wx_gtk_cell_renderer_set_padding(GtkCellRenderer* cell, gint xpad, gint ypad)
|
||||
{
|
||||
cell->xpad = xpad;
|
||||
cell->ypad = ypad;
|
||||
}
|
||||
#define gtk_cell_renderer_set_padding wx_gtk_cell_renderer_set_padding
|
||||
|
||||
static inline void wx_gtk_widget_get_allocation(GtkWidget* widget, GtkAllocation* allocation)
|
||||
{
|
||||
*allocation = widget->allocation;
|
||||
|
Reference in New Issue
Block a user