[gtk+] application: Correct the fallback definition for gtk_application_end_session



commit 4007449a58822fee531b8f6ec99a966d8fab3f54
Author: Rob Bradford <rob linux intel com>
Date:   Mon Jan 9 15:07:08 2012 +0000

    application: Correct the fallback definition for gtk_application_end_session
    
    The function definition used a pointer to the enum value rather than the enum
    itself.
    
    This broke the build on platforms that don't have an implmentation of these
    functions.

 gtk/gtkapplication.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 4331314..80d1a6a 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -1667,7 +1667,7 @@ gtk_application_is_inhibited (GtkApplication             *application,
 
 gboolean
 gtk_application_end_session (GtkApplication         *application,
-                             GtkApplicationEndStyle *style,
+                             GtkApplicationEndStyle  style,
                              gboolean                request_confirmation)
 {
   return FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]