gtk: Use versioned deprecations
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
This commit is contained in:
@ -84,11 +84,11 @@ gboolean gtk_cell_view_get_fit_model (GtkCellView *cell_v
|
||||
void gtk_cell_view_set_fit_model (GtkCellView *cell_view,
|
||||
gboolean fit_model);
|
||||
|
||||
GDK_DEPRECATED_FOR(gtk_widget_get_preferred_size)
|
||||
GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size)
|
||||
gboolean gtk_cell_view_get_size_of_row (GtkCellView *cell_view,
|
||||
GtkTreePath *path,
|
||||
GtkRequisition *requisition);
|
||||
GDK_DEPRECATED_FOR(gtk_cell_view_set_background_rgba)
|
||||
GDK_DEPRECATED_IN_3_4_FOR(gtk_cell_view_set_background_rgba)
|
||||
void gtk_cell_view_set_background_color (GtkCellView *cell_view,
|
||||
const GdkColor *color);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user