[gtk+] Emit GtkAssistant::apply before computing the next step



commit ae37d2097eff40ede42d2cc1e8490092bd3ac4f6
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 6 23:52:18 2009 -0400

    Emit GtkAssistant::apply before computing the next step
    
    This fixes bug 589745.

 gtk/gtkassistant.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 5c03975..a2e2f7a 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -645,10 +645,10 @@ on_assistant_apply (GtkWidget    *widget,
 {
   gboolean success;
 
-  success = compute_next_step (assistant);
-
   g_signal_emit (assistant, signals [APPLY], 0);
 
+  success = compute_next_step (assistant);
+
   /* if the assistant hasn't switched to another page, just emit
    * the CLOSE signal, it't the last page in the assistant flow
    */



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