]> Pileus Git - ~andy/gtk/commitdiff
application: Correct the fallback definition for gtk_application_end_session
authorRob Bradford <rob@linux.intel.com>
Mon, 9 Jan 2012 15:07:08 +0000 (15:07 +0000)
committerRob Bradford <rob@linux.intel.com>
Mon, 9 Jan 2012 15:09:27 +0000 (15:09 +0000)
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

index 4331314c4e33d7adb321e1fba2ad3d99fd1e1206..80d1a6a1b0d162d6ddc4290578c27c855c513a0b 100644 (file)
@@ -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;