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:
@ -139,6 +139,7 @@ gint gtk_assistant_append_page (GtkAssistant
|
||||
gint gtk_assistant_insert_page (GtkAssistant *assistant,
|
||||
GtkWidget *page,
|
||||
gint position);
|
||||
GDK_AVAILABLE_IN_3_2
|
||||
void gtk_assistant_remove_page (GtkAssistant *assistant,
|
||||
gint page_num);
|
||||
void gtk_assistant_set_forward_page_func (GtkAssistant *assistant,
|
||||
@ -156,18 +157,18 @@ void gtk_assistant_set_page_title (GtkAssistant
|
||||
const gchar * gtk_assistant_get_page_title (GtkAssistant *assistant,
|
||||
GtkWidget *page);
|
||||
|
||||
GDK_DEPRECATED
|
||||
GDK_DEPRECATED_IN_3_2
|
||||
void gtk_assistant_set_page_header_image (GtkAssistant *assistant,
|
||||
GtkWidget *page,
|
||||
GdkPixbuf *pixbuf);
|
||||
GDK_DEPRECATED
|
||||
GDK_DEPRECATED_IN_3_2
|
||||
GdkPixbuf *gtk_assistant_get_page_header_image (GtkAssistant *assistant,
|
||||
GtkWidget *page);
|
||||
GDK_DEPRECATED
|
||||
GDK_DEPRECATED_IN_3_2
|
||||
void gtk_assistant_set_page_side_image (GtkAssistant *assistant,
|
||||
GtkWidget *page,
|
||||
GdkPixbuf *pixbuf);
|
||||
GDK_DEPRECATED
|
||||
GDK_DEPRECATED_IN_3_2
|
||||
GdkPixbuf *gtk_assistant_get_page_side_image (GtkAssistant *assistant,
|
||||
GtkWidget *page);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user