From 4c150d8eb518c35c484802e5cd7da572e4030f25 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 Feb 2018 20:13:20 +0100 Subject: The big versioning cleanup Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning. --- gtk/gtkapplication.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'gtk/gtkapplication.h') diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h index badb3f0338..e59b6116a9 100644 --- a/gtk/gtkapplication.h +++ b/gtk/gtkapplication.h @@ -89,15 +89,15 @@ void gtk_application_remove_window (GtkApplication *application, GDK_AVAILABLE_IN_ALL GList * gtk_application_get_windows (GtkApplication *application); -GDK_AVAILABLE_IN_3_4 +GDK_AVAILABLE_IN_ALL GMenuModel * gtk_application_get_app_menu (GtkApplication *application); -GDK_AVAILABLE_IN_3_4 +GDK_AVAILABLE_IN_ALL void gtk_application_set_app_menu (GtkApplication *application, GMenuModel *app_menu); -GDK_AVAILABLE_IN_3_4 +GDK_AVAILABLE_IN_ALL GMenuModel * gtk_application_get_menubar (GtkApplication *application); -GDK_AVAILABLE_IN_3_4 +GDK_AVAILABLE_IN_ALL void gtk_application_set_menubar (GtkApplication *application, GMenuModel *menubar); @@ -109,42 +109,42 @@ typedef enum GTK_APPLICATION_INHIBIT_IDLE = (1 << 3) } GtkApplicationInhibitFlags; -GDK_AVAILABLE_IN_3_4 +GDK_AVAILABLE_IN_ALL guint gtk_application_inhibit (GtkApplication *application, GtkWindow *window, GtkApplicationInhibitFlags flags, const gchar *reason); -GDK_AVAILABLE_IN_3_4 +GDK_AVAILABLE_IN_ALL void gtk_application_uninhibit (GtkApplication *application, guint cookie); -GDK_AVAILABLE_IN_3_6 +GDK_AVAILABLE_IN_ALL GtkWindow * gtk_application_get_window_by_id (GtkApplication *application, guint id); -GDK_AVAILABLE_IN_3_6 +GDK_AVAILABLE_IN_ALL GtkWindow * gtk_application_get_active_window (GtkApplication *application); -GDK_AVAILABLE_IN_3_12 +GDK_AVAILABLE_IN_ALL gchar ** gtk_application_list_action_descriptions (GtkApplication *application); -GDK_AVAILABLE_IN_3_12 +GDK_AVAILABLE_IN_ALL gchar ** gtk_application_get_accels_for_action (GtkApplication *application, const gchar *detailed_action_name); -GDK_AVAILABLE_IN_3_14 +GDK_AVAILABLE_IN_ALL gchar ** gtk_application_get_actions_for_accel (GtkApplication *application, const gchar *accel); -GDK_AVAILABLE_IN_3_12 +GDK_AVAILABLE_IN_ALL void gtk_application_set_accels_for_action (GtkApplication *application, const gchar *detailed_action_name, const gchar * const *accels); -GDK_AVAILABLE_IN_3_14 +GDK_AVAILABLE_IN_ALL gboolean gtk_application_prefers_app_menu (GtkApplication *application); -GDK_AVAILABLE_IN_3_14 +GDK_AVAILABLE_IN_ALL GMenu * gtk_application_get_menu_by_id (GtkApplication *application, const gchar *id); -- cgit v1.2.1