]> Pileus Git - ~andy/gtk/commitdiff
Emit GtkAssistant::apply before computing the next step
authorMatthias Clasen <mclasen@redhat.com>
Fri, 7 Aug 2009 03:52:18 +0000 (23:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Aug 2009 03:52:18 +0000 (23:52 -0400)
This fixes bug 589745.

gtk/gtkassistant.c

index 5c03975adf6590dcf42b61a512d6c0141300f564..a2e2f7ae3a40ab1d67235b4e42d5dde2a16246d1 100644 (file)
@@ -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
    */