Make summaryview compile again.
[claws.git] / src / summaryview.c
index 2003b50e98b04ed87362fff4a540bd774f855778..77e6092859189231e32004189f23643952d60fd7 100644 (file)
@@ -1296,8 +1296,6 @@ static void summary_set_menu_sensitive(SummaryView *summaryview)
        GtkWidget *menuitem;
        gint i;
 
-       main_window_set_menu_sensitive(summaryview->mainwin);
-
        static const struct {
                gchar *const entry;
                SensitiveCond cond;
@@ -1346,6 +1344,8 @@ static void summary_set_menu_sensitive(SummaryView *summaryview)
                {NULL, 0}
        };
 
+       main_window_set_menu_sensitive(summaryview->mainwin);
+
        state = main_window_get_current_state(summaryview->mainwin);
 
        for (i = 0; entry[i].entry != NULL; i++) {