diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 2722d0373f..e9bef7b063 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -1516,9 +1516,9 @@ gtk_application_is_inhibited (GtkApplication *application, } gboolean -gtk_application_end_session (GtkApplication *application, - GtkApplicationEndStyle *style, - gboolean request_confirmation) +gtk_application_end_session (GtkApplication *application, + GtkApplicationEndSessionStyle *style, + gboolean request_confirmation) { static const ProcessSerialNumber loginwindow_psn = { 0, kSystemProcess }; AppleEvent event = { typeNull, NULL }; @@ -1598,9 +1598,9 @@ gtk_application_is_inhibited (GtkApplication *application, } gboolean -gtk_application_end_session (GtkApplication *application, - GtkApplicationEndStyle style, - gboolean request_confirmation) +gtk_application_end_session (GtkApplication *application, + GtkApplicationEndSessionStyle style, + gboolean request_confirmation) { return FALSE; } diff --git a/tests/testlogout.c b/tests/testlogout.c index a278c7b133..3cd9ecb05e 100644 --- a/tests/testlogout.c +++ b/tests/testlogout.c @@ -13,7 +13,7 @@ static void end_session (GtkButton *button, GtkApplication *app) { const gchar *id; - GtkApplicationEndStyle style; + GtkApplicationEndSessionStyle style; gboolean confirm; id = gtk_combo_box_get_active_id (GTK_COMBO_BOX (end_combo));