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:
@ -58,7 +58,7 @@ struct _GtkHScrollbarClass
|
||||
|
||||
|
||||
GType gtk_hscrollbar_get_type (void) G_GNUC_CONST;
|
||||
GDK_DEPRECATED_FOR(gtk_scrollbar_new)
|
||||
GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
|
||||
GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user